Re: [PHP] breaking out of two loops

2002-02-06 Thread Chris Worth
Dang... That is so cool. i'd never noticed that before. well I've learned enough for today. maybe my boss'l let me go home. LOL On 04 Feb 2002 16:00:53 -0800, Lars Torben Wilson wrote: On Mon, 2002-02-04 at 15:54, Erik Price wrote: Short and sweet: If I have an if statement inside a

Re: [PHP] breaking out of two loops

2002-02-05 Thread Lars Torben Wilson
On Mon, 2002-02-04 at 20:19, Daniel Grace wrote: Lars Torben Wilson [EMAIL PROTECTED] wrote in message From the manual: break accepts an optional numeric argument which tells it how many nested enclosing structures are to be broken out of You can find this at

[PHP] breaking out of two loops

2002-02-04 Thread Erik Price
Short and sweet: If I have an if statement inside a switch statement, how can I break out of both blocks that I am in? Will one break end everything? Or should I use one for each level deep that I am? Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED]

Re: [PHP] breaking out of two loops

2002-02-04 Thread Lars Torben Wilson
On Mon, 2002-02-04 at 15:54, Erik Price wrote: Short and sweet: If I have an if statement inside a switch statement, how can I break out of both blocks that I am in? Will one break end everything? Or should I use one for each level deep that I am? Erik From the manual: break

Re: [PHP] breaking out of two loops

2002-02-04 Thread Daniel Grace
Lars Torben Wilson [EMAIL PROTECTED] wrote in message 1012867253.2248.185.camel@ali">news:1012867253.2248.185.camel@ali... On Mon, 2002-02-04 at 15:54, Erik Price wrote: Short and sweet: If I have an if statement inside a switch statement, how can I break out of both blocks that I am in?