in reply to SQL UPDATE and DBI for MySQL

dws and fennon are right, it's the SQL-syntax.
But it's really hard to spot the error:

There must be no comma before the WHERE clause.