Warning: Cannot modify header information - headers already sent by (output started at /home/tmre/public_html/tmre/tulum-real-estate/b-property-detail-tulum.php:25) in /home/tmre/public_html/0-includes/tmre/6-TMRE-select-property2.php on line 254
Error getting the listingsYou 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 prop_price >= 285000 AND prop_price <= 437000 AND bedrooms = AND ba' at line 6SELECT prop_id,prop_name, prop_price, im_image, style_name, bedrooms, baths, prop_land, prop_construction, date_format(prop_creation, '%Y-%m-%d') as prop_date FROM Listing prop LEFT JOIN tbl_image im ON prop.prop_id = im.im_prop_id LEFT JOIN List_styles ON prop.prop_style = style_id WHERE prop_city = AND prop_price >= 285000 AND prop_price <= 437000 AND bedrooms = AND baths = AND prop_image = im_thumbnail AND prop_status IN (1,6) AND prop_style = AND prop_id != 2522 ORDER BY prop_price ASC LIMIT 8