in reply to SQL do update is killing me

You may want to also check into prepare and execute in dbh, or the quoting function to avoid having extraneous unescaped quote characters in your queries.

"Falling in love with map, one block at a time." - simeon2000