greetings
i have the following code which works without the 3rd elseif. Although i would like to add a 3rd elseif which says echo “please select a server and date when you try to submit a choice from dropdown 1 and 2
so submitting the form when selecting from dropdown menu and menuic should give a message as not allowed”
[php]if (isset($_POST[“menu”]) and ($_POST[“date”])){
//echo $_POST[“menu”]."
";
//echo $_POST[“date”];
header(“Location: http://” . $_POST[“menu”] . $_POST[“date”] . “.html”);
}elseif(isset($_POST[“menufic”]) and ($_POST[“date”])){
header(“Location: http://” . $_POST[“menuic”] . $_POST[“date”] . “.html”);
}elseif(isset($_POST[“menufic”]) and ($_POST[“date”])){
echo “please select a server and date…]n”;
?>[/php]