I have a MySql database of properties with areas in sq ft which I need to query for results of matches where the area falls between say 1,000 sq ft and 2,000 sq ft and by their postcode.
This is the MySql query so far that works beautifully for the postcode bit only:
$sql = "SELECT * FROM av WHERE postcode LIKE '%$pc%' ORDER BY areasf DESC";
I have been trying to get this to search for properties by $pc and $minarea and $maxarea. These strings come from a search form.
Thank you in advance for any help you can offer!
Rupert