switch statement
Posted: Thu Nov 21, 2002 3:57 am
I am wondering is it possible to allow a statement like the following to work out :
I have checked my manual but am not to sure 'cos it doesn't say anything about this particular scenario
???
I am not too worried about the syntax but more about the structure and workings of it all....
thanks
?>
Code: Select all
<?php
switch ($infoa)
{
case "1a"
break;
case "2a"
break;
case "3a"
break;
if a='a' {
}
switch ($infob)
{
case "1b"
break;
case "2b"
break;
case "3b"
break;
}
} else
{
plain info
}
}
?>I am not too worried about the syntax but more about the structure and workings of it all....
thanks
?>