coldclimber Posted October 25, 2008 Share Posted October 25, 2008 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 More sharing options...
GKWelding Posted October 28, 2008 Share Posted October 28, 2008 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... Link to comment https://forums.phpfreaks.com/topic/130045-help-calling-a-php-seacrh/#findComment-676544 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.