php 3rd elseif dropdown

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

bishop2001

greetings
in the following code im trying to not allow a submit when a choice from each of the 3 dropdowns is submitted but its not working.

PHP Code:
if (isset($_POST["menu"]) and ($_POST["date"])){
echo
"hello";
}elseif(isset(
$_POST["menufc"]) and ($_POST["date"])){
echo
"hello";
}elseif(isset(
$_POST["menu"]) and ($_POST["menufc"]) and ($_POST["date"])){
echo
"no good";
}

?>


Continue reading...
 
Back
Top