Re: note 8021 added to else
| From: | Hartmut Holzgraefe | Date: | Thu, 24 Aug 2000 13:30:34 +0000 |
| Subject: | Re: note 8021 added to else | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-3073@lists.php.net to get a copy of this message | ||
m.laessig@hessen2000.de wrote:
>
> Yes but without the first ";".
> if ( $a > $b )
> echo ( "$a > $b )
> else
> echo ( "$a < $b" );
> because the entire thing is _ONE_ expression.
>
> http://www.php.net/manual/de/control-structures.else.php
>
this is no brain-damaged PASCAL parser, so the ';' has to stay
where it is
try your code before you post it
--
Hartmut Holzgraefe
hartmut@six.de http://www.six.de +49-711-99091-77 fax:-99