On Fri, 31 Aug 2007 22:05:11 -0700, jekillen wrote: >You can run a switch inside a for loop and when a case is matched set >a variable to true. >the break statement will break out of the switch, then inside the >iteration code, after the switch block, test the variable for true. If >it is true the use another break instruction. >That should break out of the loop altogether at the end on that >particular iteration.
Ahhhh.... The *GoTo* solution. :-) Jonesy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php