select * FROM properties_listed_sale WHERE property_type='Apartment' AND (bedrooms>='$bedrooms' OR bathrooms>='$bathrooms' OR sft>='$sft') "."LIMIT $offset, $rowsPerPage"; is that valid Mysql Command? Please Help Me.