You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE prodstats_hash = 'd0435c3388069e17d35a3f5a7a59d0a4'' at line 1
UPDATE prod_stats SET prodstats_numviews = prodstats_numviews+1, prodstats_lastseen = '2008-12-03 06:33:19', prodstats_catid = 565, prodstats_parentid = WHERE prodstats_hash = 'd0435c3388069e17d35a3f5a7a59d0a4'