note 78300 added to control-structures.alternative-syntax
| From: | virtuall at virtuall dot info | Date: | Fri, 05 Oct 2007 16:24:58 +0000 |
| Subject: | note 78300 added to control-structures.alternative-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131147@lists.php.net to get a copy of this message | ||
I'd say this is nicer than that "endif" thing (not really an "alternative
syntax", but):
<? if ($whatever) { ?>
Whatever is true.
<? } else { ?>
Whatever is false.
<? } ?>
----
Server IP: 81.94.227.69
Probable Submitter: 87.110.198.224
----
Manual Page -- http://www.php.net/manual/en/control-structures.alternative-syntax.php
Edit -- https://master.php.net/note/edit/78300
Del: integrated -- https://master.php.net/note/delete/78300/integrated
Del: useless -- https://master.php.net/note/delete/78300/useless
Del: bad code -- https://master.php.net/note/delete/78300/bad+code
Del: spam -- https://master.php.net/note/delete/78300/spam
Del: non-english -- https://master.php.net/note/delete/78300/non-english
Del: in docs -- https://master.php.net/note/delete/78300/in+docs
Del: other reasons-- https://master.php.net/note/delete/78300
Reject -- https://master.php.net/note/reject/78300
Search -- https://master.php.net/manage/user-notes.php