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 'LIMIT 0, 12' at line 1SELECT * FROM `items` WHERE `price`>0 AND `cat`='new' AND 1=1 Order by LIMIT 0, 12