Re: [PHP] PHP if exit Q

2003-08-27 Thread Marek Kilimajer
You should fix your logic, or put additional if in. Or you can use while 
and break, but this is somewhat sick:

while( condition ) {

	// code here

	if( codition ) {

} else {
break;
}
	// more code here

break; // break at the end so while() becomes if()
}
jsWalter wrote:
If I am in a second level IF conditional and it failes, I want to jump out
of the parent IF.
How can I do that?



Thanks



Walter

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] PHP if exit Q

2003-08-26 Thread jsWalter
If I am in a second level IF conditional and it failes, I want to jump out
of the parent IF.

How can I do that?



Thanks



Walter

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php