Jump to content

Archived

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

hansman

Searching using different headers

Recommended Posts

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?

Share this post


Link to post
Share on other sites
yes but how would i program it so when i choose a certian option on the dropdown, it will use the proper header

Share this post


Link to post
Share on other sites
<select name="var">
<option value="abc" selected="selected">abc</option>
<option value="xyz">xyz</option>
</select>

$_GET['var'] // value of 'abc' or 'xyz'

Share this post


Link to post
Share on other sites

×

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.