MySQL error 1064: 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 'FROM ampanel_zenphoto_albums WHERE `show` = 1 AND `parentid` != 100 AND `id` != ' at line 1
When executing:
UPDATE site_counter SET site_count = 2058933 WHERE id = 1SELECT * FROM ampanel_zenphoto_albums WHERE `show` = 1 AND `parentid` != 100 AND `id` != 100 AND date LIKE '2014%' AND date LIKE '%-09-%' ORDER BY date DESC limit 0,15