http://www.php.net/manual/en/control-structures.break.php
-philip On Mon, 17 Mar 2003, Bix wrote: > I have a for loop within a for loop, and need to break out of both > together... > > for ( blah ) { > for ( blah ) { > if ( true ) { break; } // only breaks out of this loop, how can I break it > out of both loops. > } > } > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php