1
Discussion & Troubleshooting / Bad SQL Query?
« on: August 07, 2006, 05:00:32 PM »
When i tried to edit a category i got this error
Quote
DB Error: Bad SQL Query: UPDATE 4images_categories SET cat_name = 'Guitar Workshop By Faraz Anwar', cat_description = 'Karachi, July 2006. Thanks to Zeeshan Anwar Ali', cat_parent_id = 0, cat_hits = 285, auth_viewcat = 0, auth_viewimage = 0, auth_download = 2, auth_upload = 2, auth_directupload = 9, auth_vote = 0, auth_sendpostcard = 0, auth_readcomment = 0, auth_postcomment = 2, cat_image = WHERE cat_id = 32
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 cat_id = 32' at line 3