Re: [PHP] How to break out of nested loops

2003-03-17 Thread Bix
Cheers matey! Nice to know people are alwyas around to help! ;o) "Erik Price" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Bix wrote: > > I have a for loop within a for loop, and need to break out of both > > together... > > > > for ( blah ) { > > for ( blah ) { > > i

Re: [PHP] How to break out of nested loops

2003-03-17 Thread Erik Price
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. } } "break accepts an optional numeric argument which tells it how many nested