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 '=Undefined offset: 0
File: /home/sonaleng/public_h' at line 1

SQL Query
SELECT `category`.* FROM `category` WHERE id!=0 AND id=Undefined offset: 0
File: /home/sonaleng/public_html/core/app.php(599) : eval()'d code
Line: 34