How to break out of nested loops

From: Date: Mon, 17 Mar 2003 22:37:18 +0000
Subject: How to break out of nested loops
Groups: php.general 
Request: Send a blank email to php-general+get-140051@lists.php.net to get a copy of this message
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. } }

« previous php.general (#140051) next »