yes, I already have that......
My question is....
I want the form to search more than one field in the table.
As it stands now...
$query="SELECT * FROM listingsDB WHERE Title like '%$search%'";
This query will take the results from the form....and query only the Title table.
But, I want to have other form elements that search other tables in the listingsDB but I am not sure how to setup the script to handle multiple queries.
So, my goal would be....lets say I have three textboxes in my form
1) box1:
2) box2:
3) box3:
I want box1 to query a specific field, box2 query another field, and box 3...yet another field.
The output will be the results of the three queries.
To put it in real working terms....
If box 1 represents a town - Box2 a state and box 3 a country
If the user inputs
box1 New York
box2 NY
box 3 USA
The results will be all listings for New York, NY USA
Hope I have explained this well....