Error in query : SELECT * FROM accessories_tb WHERE BINARY Dura='Y' and Status='Y' and Faculty_code='04' 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 |