Leif K-Brooks wrote:

> I have a switch in a script I'm working on.  I need to have case 1 and 
> 2 both to to case 3, but without case 1 going through case 2.  Is this 
> possible? 

Does "case 3" have to be in the switch? If not, just leave it to execute 
just after the end of the switch.

Otherwise, consider making your program modular. For case 3, include a 
file that has the code you're wanting to execute. Then all you have to 
do is include the same file at the bottom of both cases 1 and 2.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to