note 78727 added to control-structures.alternative-syntax
| From: | php dot net at eoasys dot com | Date: | Wed, 24 Oct 2007 21:47:42 +0000 |
| Subject: | note 78727 added to control-structures.alternative-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131710@lists.php.net to get a copy of this message | ||
Response to virtuall: This works as well, and I find it easier to read:
<?php if ($whatever): ?>
$whatever is true
<?php else: ?>
$whatever is false
<?php endif ?>
;-)
----
Server IP: 69.147.83.197
Probable Submitter: 71.56.163.173
----
Manual Page -- http://www.php.net/manual/en/control-structures.alternative-syntax.php
Edit -- https://master.php.net/note/edit/78727
Del: integrated -- https://master.php.net/note/delete/78727/integrated
Del: useless -- https://master.php.net/note/delete/78727/useless
Del: bad code -- https://master.php.net/note/delete/78727/bad+code
Del: spam -- https://master.php.net/note/delete/78727/spam
Del: non-english -- https://master.php.net/note/delete/78727/non-english
Del: in docs -- https://master.php.net/note/delete/78727/in+docs
Del: other reasons-- https://master.php.net/note/delete/78727
Reject -- https://master.php.net/note/reject/78727
Search -- https://master.php.net/manage/user-notes.php