SELECT COUNT(id) as nr FROM psorter_listings WHERE (sale_rent = 'rent') AND (price<=) AND ((address LIKE "%SOUTH CAMBRIDGESHIRE%") OR (zip LIKE "%SOUTH CAMBRIDGESHIRE%"))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 ') AND ((address LIKE "%SOUTH CAMBRIDGESHIRE%") OR (zip LIKE "%SOUTH CAMBRIDGESHI' at line 1