note 92568 added to control-structures.elseif
| From: | StephenDewey at osu1 dot php dot net | Date: | Wed, 29 Jul 2009 17:54:58 +0000 |
| Subject: | note 92568 added to control-structures.elseif | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158889@lists.php.net to get a copy of this message | ||
The link that mrLami posted may be misleading... the "extended" form discussed there is
not necessary when you want to avoid echoing large amounts of HTML. You can drop out of PHP parsing
within curly braces as well.
Also, the "abbreviated" form discussed there is actually called the ternary operator.
----
Server IP: 69.147.83.197
Probable Submitter: 65.46.73.222
----
Manual Page -- http://www.php.net/manual/en/control-structures.elseif.php
Edit -- https://master.php.net/note/edit/92568
Del: integrated -- https://master.php.net/note/delete/92568/integrated
Del: useless -- https://master.php.net/note/delete/92568/useless
Del: bad code -- https://master.php.net/note/delete/92568/bad+code
Del: spam -- https://master.php.net/note/delete/92568/spam
Del: non-english -- https://master.php.net/note/delete/92568/non-english
Del: in docs -- https://master.php.net/note/delete/92568/in+docs
Del: other reasons-- https://master.php.net/note/delete/92568
Reject -- https://master.php.net/note/reject/92568
Search -- https://master.php.net/manage/user-notes.php