SELECT * FROM psorter_listings WHERE (sale_rent = 'sale' OR sale_rent = 'rent') AND ((address LIKE "%CARDIFF%") OR (zip LIKE "%CARDIFF%")) ORDER BY price ASC LIMIT -10,10You 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