Jump to content

Recommended Posts

Guest bishop2001
Posted

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...