MySQL returned error




Error Description :
Error No : 1064
Description : 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 'index and status='Active'' at line 1

SQL Query
SELECT `stars_image`.* FROM `stars_image` WHERE id!=0 AND category_id=index and status='Active'