For my Realty site I would also like to return the properties that fall within the user's requested price range from two drop down lists MinPrice
and MaxPrice
(which are also the field values).
Below is my statement thus far. It is working properly aside from the above requirement.
SELECT busname, email, render_pic,
area,logo, url, email, map,
description, tag, catch_phrase, region
FROM Results
WHERE STYLE LIKE 'varStyle'
AND REGION LIKE 'varRegion'
AND BEDROOMS LIKE 'varBedrooms'
AND BATHROOMS LIKE 'varBathrooms'
ORDER BY ID desc
Thank you SO MUCH in advance!