Error in query : SELECT * FROM accessories_tb WHERE BINARY Faculty_code='01' AND Acc_type_code ='1' ORDER BY Date_buy ASC LIMIT -10, 10 . 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 '-10, 10' at line 1 |