switch structure...
| From: | Dan Joseph | Date: | Thu, 19 Jun 2003 17:52:01 +0000 |
| Subject: | switch structure... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-152201@lists.php.net to get a copy of this message | ||
Hi All,
Looking for some guidance on something I want to be able to do with switch,
and I don't think it exists, but I'd like to consult the list as a last
resort.
I have a switch setup similar to:
switch ($step) {
case 0 :
blah...
break;
case 1 :
blah...
breakl
}
Under case 0, I'd like to do a few things, and then if a certain condition
is met, move into case 1. Is this possible? Am I off the wall here? Is
there a better way of doing this madness I've come up with?
-Dan Joseph