nested if parse error

From: Date: Thu, 30 May 2002 12:04:45 +0000
Subject: nested if parse error
Groups: php.general 
Request: Send a blank email to php-general+get-99907@lists.php.net to get a copy of this message
could somebody explain me please what is wrong with this piece of code? <? if (1): if (1) echo "hello"; else: endif; ?> it gives me parse error on line 4 this works fine (no parse error): <? if (1): else: if (1) echo "hello"; endif; ?> thank you miro

« previous php.general (#99907) next »