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



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

Reply via email to