MySQL error: 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 '-50' at line 4 MySQL Query:
SELECT prop_properties.property_id
FROM prop_properties, geo_cities, geo_departments
WHERE 1 = 1 AND property_delete = 0
AND geo_departments.department_activated = 1 AND geo_cities.city_activated = 1 AND 32 = geo_departments.country_id AND geo_cities.department_id = geo_departments.department_id AND prop_properties.city_id = geo_cities.city_id AND property_state <> 'D' AND property_num_images > 0 AND geo_departments.country_id = 32 AND geo_cities.city_id = 1177 LIMIT 50,-50