Jump to content

help calling a php seacrh


coldclimber

Recommended Posts

I have an advanced search box on my site i.e "category" (drop down) and  "city" (text input field)

 

and what i need the results to do is to be able to print the the category the user selected, and the city they typed,  as a title on the search results page

 

so if i search for a plumber, and typed New York for the city then Plumber New York would the the title, with the search results following on under.

 

does anyone know of a simple way to do this

Link to comment
https://forums.phpfreaks.com/topic/130045-help-calling-a-php-seacrh/
Share on other sites

I assume that you're passing the values from the drop down boxes to the search script via POST or GET. If so then it's really easy, well, it depends on how your search script returns the search results but all you need to do is echo the $_GET['search_term'] or the $_POST['search_term'].... If you understand what I mean...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.