Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/xtremese/public_html/alexpcastro/wp-content/themes/brokr/template-rent.php on line 184
Invalid query: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-20, 20' at line 16 Whole query: SELECT units.*, units.id as unit_id, neighborhoods.slug as neighborhood_slug, buildings.id as building_id, buildings.slug as building_slug, buildings.street_short as building_street_short, neighborhoods.title as building_neighborhood, buildings.lat as building_lat, buildings.lng as building_lng, bedrooms.abbreviation as bedroom_abbreviation, bedrooms.title_short as bedroom_title_short, boroughs.title as borough_title, buildings.doorman as doorman, buildings.elevator as elevator, buildings.gym as gym, buildings.laundry as laundry, buildings.outdoor as outdoor, buildings.lounge as lounge, buildings.storage as storage, buildings.lat as building_lat, buildings.lng as building_lng, buildings.garage as garage, IF( units.net_rent IS NULL OR units.net_rent = 0, units.gross_rent, units.net_rent ) AS rent, IF( units.net_rent IS NULL OR units.net_rent = 0, 'GROSS', 'NET' ) AS price_type FROM units INNER JOIN buildings ON buildings.id = units.building_id INNER JOIN boroughs ON boroughs.id = buildings.borough INNER JOIN neighborhoods ON neighborhoods.id = buildings.neighborhood_id INNER JOIN bedrooms ON bedrooms.id = units.bedrooms_id WHERE units.site_search_status = 'Live' AND units.market_status = 'active' AND units.market_type = 'Open' ORDER BY units.id ASC LIMIT -20, 20