There must be no comma before the WHERE clause.
In reply to Re: SQL UPDATE and DBI for MySQL by busunsl in thread SQL UPDATE and DBI for MySQL by silent11