hansman Posted July 23, 2006 Share Posted July 23, 2006 I am trying to make a site that searches other sites,i have 3 headers similar to this[code]<? header ("Location: http://www.phazeddl.com/search.php?q=".urlencode($_GET['input']));?>[/code]how would i choose what header i want to use by a drop down menu or radial buttons? Link to comment https://forums.phpfreaks.com/topic/15375-searching-using-different-headers/ Share on other sites More sharing options...
Branden Wagner Posted July 23, 2006 Share Posted July 23, 2006 thats just personal preference.. id say drop down to eliminate clutter. Link to comment https://forums.phpfreaks.com/topic/15375-searching-using-different-headers/#findComment-62313 Share on other sites More sharing options...
hansman Posted July 23, 2006 Author Share Posted July 23, 2006 yes but how would i program it so when i choose a certian option on the dropdown, it will use the proper header Link to comment https://forums.phpfreaks.com/topic/15375-searching-using-different-headers/#findComment-62315 Share on other sites More sharing options...
Joe Haley Posted July 23, 2006 Share Posted July 23, 2006 <select name="var"><option value="abc" selected="selected">abc</option><option value="xyz">xyz</option></select>$_GET['var'] // value of 'abc' or 'xyz' Link to comment https://forums.phpfreaks.com/topic/15375-searching-using-different-headers/#findComment-62355 Share on other sites More sharing options...
hansman Posted September 1, 2006 Author Share Posted September 1, 2006 and whatwould i do to hook the value into a certain header? Link to comment https://forums.phpfreaks.com/topic/15375-searching-using-different-headers/#findComment-83799 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.