Page 1 of 1

Multiple search variables

Posted: Sat Dec 20, 2003 5:27 pm
by pinehead18
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

Posted: Sat Dec 20, 2003 5:44 pm
by m3mn0n
Add

Code: Select all

WHERE (age > $agemin) AND (age < $agemax) AND (city = $city)
Into your SQL statement