Ok, what i'm attempting to do is write a php sql script that will allow me to search based off specific vars.
Such as between Age1 and age1 and in the city of some city..
So basically 3 search peremiters on one search..
Any ideas suggestions or links to code?
Thank you
Anthony
Multiple search variables
Moderator: General Moderators
-
pinehead18
- Forum Contributor
- Posts: 329
- Joined: Thu Jul 31, 2003 9:20 pm
Add
Into your SQL statement
Code: Select all
WHERE (age > $agemin) AND (age < $agemax) AND (city = $city)