Re: Function Switch($pid) - NEED HELP

From: Date: Sat, 25 May 2002 13:47:26 +0000
Subject: Re: Function Switch($pid) - NEED HELP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-99238@lists.php.net to get a copy of this message
Just don't do the break in case 1 if you want to fall through to case 2. On Sat, 25 May 2002, Vincent Kruger wrote: > I have a script that switches. > switch($pid) > { > case 1: > break; > > case 2: > break; > } > > Now I'm doing a check in case 1 and if everything goes well, i want to > switch directly to case 2 while the script is runny. > > How would i do that ??? > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#99238) next »