[thelist] PHP if exit Q

Dave Crawford daveacrawford at comcast.net
Tue Aug 26 15:23:22 CDT 2003


The break command accepts an optional argument indicating how many
levels to break out of.  In this case you would say "break 2;"

You can check out the manual for more info at
http://www.php.net/manual/en/control-structures.break.php

-David Crawford

-----Original Message-----

If I am in a second level IF conditional and it fails, I want to jump
out of
the parent IF.

How can I do that? 



More information about the thelist mailing list