php html form i.e. 7

  • Thread starter Thread starter bishop2001
  • Start date Start date
B

bishop2001

greetings,
i have a php page with a few drop downs and a submit button. The submit button does nothing when clicked in i.e.7, although chrome, firefox, new versions of i.e. it works fine. Is there anything i can do to fix this problem?

this my php:

PHP Code:
<?
if ( isset($_POST["menu"]) and !isset($_POST["menufc"]) and ($_POST["date"]) ){
header("Location: http://" . $_POST["menu"] . $_POST["date"] . ".html");
}elseif(!isset(
$_POST["menu"]) and isset($_POST["menufc"]) and ($_POST["date"])){
header("Location: http://" . $_POST["menufc"] . $_POST["date"] . ".html");
}else{
echo
"";
}

?>

this is my form:

HTML Code:
<form name="menu" method="post">
<span style="font-weight:bold">DIR</span>
<select name="menufic">
<form name="menufic" method="post">
<option selected disabled hidden value=''></option>
<option value="Toronto.">Toronto</option>
<option value="Toronto.">Toronto</option>
<option value="Toronto.">Toronto</option>
</select>

<span style="font-weight:bold">Date</span>
<form name="date" method="post">
<select name="date">
<option value=<?php echo $TODAY ?>><? echo $TODAY ?></option>
<input type="reset" value="reset" />
</select>
</form>
</body>

Continue reading...
 
Back
Top