Re: while() statement -- easy fix?

From: Date: Thu, 17 Oct 2002 22:37:35 +0000
Subject: Re: while() statement -- easy fix?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-120421@lists.php.net to get a copy of this message
On Thu, 17 Oct 2002, Daren Cotter wrote: > The problem (I think) is that the break is only > exiting the first if() statement. How do I get around this? break() doesn't break out of if() statements. from the manual, "break ends execution of the current for, foreach while, do..while or switch structure." http://www.php.net/manual/en/control-structures.break.php ~Chris

« previous php.general (#120421) next »