RE: [PHP] nested if parse error

2002-05-31 Thread Ford, Mike [LSS]
> -Original Message- > From: Miroslav Figlar [mailto:[EMAIL PROTECTED]] > Sent: 31 May 2002 07:26 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] nested if parse error > > > anyway it's funny that this works fine :-) > if (1): > if

Re: [PHP] nested if parse error

2002-05-31 Thread Miroslav Figlar
> > could somebody explain me please what is wrong with this > > piece of code? > > > if (1): > > if (1) echo "hello"; > > else: > > endif; > > ?> > > Well, first off you've broken the golden rule, which is: Don't mix the :-type syntax with the {}-type or completely bare synt

RE: [PHP] nested if parse error

2002-05-30 Thread Ford, Mike [LSS]
> -Original Message- > From: Miroslav Figlar [mailto:[EMAIL PROTECTED]] > Sent: 30 May 2002 13:05 > To: [EMAIL PROTECTED] > Subject: [PHP] nested if parse error > > > could somebody explain me please what is wrong with this > piece of code? > if (1)

RE: [PHP] nested if parse error

2002-05-30 Thread James Holden
- James -- W: www.londontown.com @: [EMAIL PROTECTED] -- -Original Message- From: Miroslav Figlar [mailto:[EMAIL PROTECTED]] Sent: 30 May 2002 13:05 To: [EMAIL PROTECTED] Subject: [PHP] nested if parse error could somebody explain me please what is wrong

RE: [PHP] nested if parse error

2002-05-30 Thread Cal Evans
Subject: [PHP] nested if parse error could somebody explain me please what is wrong with this piece of code? it gives me parse error on line 4 this works fine (no parse error): thank you miro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

[PHP] nested if parse error

2002-05-30 Thread Miroslav Figlar
could somebody explain me please what is wrong with this piece of code? it gives me parse error on line 4 this works fine (no parse error): thank you miro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php