With a selection box you need to check for 2 values, so im trying this but getting an error when checking the second filed. Any help is great.
<?
IF (!IsSet($first))
{
?>
<form name=form1 method=post action=" <? echo "$PHP_SELF"; ?>">
<input type=text name=query size=10>
<select name=1>
<option name=Search>Search</option>
<option name=Search2>Search2</option>
</select>
<input type=submit value=send>
</form>
<?
}
elseif($first == "send""1") //needs to check 2 values
{
if (isset($HTTP_POST_VARS["Search"]))
Header("Location: *");
else if(isset($HTTP_POST_VARS["Search2"]))
Header("Location: *");
else
print("error");
}
?>