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? Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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' Quote Link to comment 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.