Multiple Conditions in If Clause Question
Is it possible to have several options in an if clause?
If possible, I would like to combine these two conditions into one statement so that I would get either result A or B and, if neither condition was met, then get the (else) default condition would be returned.
Condition 1:
<?php
if ($rsAgenda->getColumnVal("address_type") == "A")
{include("agenda_menu_2.php");
}
else
include("agenda_menu.php");
}
?>
Condition 2:
<?php
if ($rsAgenda->getColumnVal("address_type") == "B")
{include("agenda_menu_3.php");
}
else {
include("agenda_menu.php");
}
?>