in reply to Breaking out of an 'if'

The most obvious way I can think of is:

if ($some_condition) { some_stuff(); unless (condition_is_met()) { some_more_stuff(); } }

--DrWhy

"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."