syntax error: SELECT * FROM table_products WHERE id_second_nomen = 110 AND display = 1 ORDER BY id DESC LIMIT -120, 120 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 '-120, 120' at line 1