note 8021 added to else
| From: | m dot laessig at hessen2000 dot de | Date: | Thu, 24 Aug 2000 12:15:38 +0000 |
| Subject: | note 8021 added to else | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3067@lists.php.net to get a copy of this message | ||
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