note 29438 added to control-structures
| From: | Matt at rack1 dot php dot net | Date: | Thu, 13 Feb 2003 15:01:45 +0000 |
| Subject: | note 29438 added to control-structures | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43887@lists.php.net to get a copy of this message | ||
you can use
echo 'anything here at all' , (1==1) ? 'true' : 'false';
instead. Plus as an extra bonus, its a little faster (for simple text)
--
http://www.php.net/manual/en/control-structures.php
http://master.php.net/manage/user-notes.php?action=edit+29438
http://master.php.net/manage/user-notes.php?action=delete+29438
http://master.php.net/manage/user-notes.php?action=reject+29438