note 13642 added to control-structures.alternative-syntax.php
| From: | php-general at lists dot php dot net | Date: | Tue, 26 Jun 2001 11:21:22 +0000 |
| Subject: | note 13642 added to control-structures.alternative-syntax.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14665@lists.php.net to get a copy of this message | ||
@jcl:
<?php
if (condition):
// code
if (another_condition) {
// multi-line code
}; //<--- that should work
else:
?>
[html here]
<?php
endif;
?>
--
blub
http://www.php.net/manual/en/control-structures.alternative-syntax.php