CONDITIONAL STATEMENTS Using SWITCH Tutorial
SWITCH is same multiple IF conditions.
<?
$test = 3;
switch($test)
{
case 1:
echo "this is case 1";
break;
case 2:
echo "this is case 2";
break;
case 3:
echo "this is case 3";
break;
default:
echo "No value specified for test var";
}
?>

