note 108224 added to control-structures.if
| From: | ehsan at chavoshi dot com | Date: | Mon, 09 Apr 2012 16:05:37 +0000 |
| Subject: | note 108224 added to control-structures.if | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-187026@lists.php.net to get a copy of this message | ||
You can use a simple if and echo structure :
$i==1 and print "i is 1"
is identical with
if ($i ==1)
echo "i is 1";
----
Server IP: 69.147.83.197
Probable Submitter: 78.39.20.236
----
Manual Page -- http://www.php.net/manual/en/control-structures.if.php
Edit -- https://master.php.net/note/edit/108224
Del: integrated -- https://master.php.net/note/delete/108224/integrated
Del: useless -- https://master.php.net/note/delete/108224/useless
Del: bad code -- https://master.php.net/note/delete/108224/bad+code
Del: spam -- https://master.php.net/note/delete/108224/spam
Del: non-english -- https://master.php.net/note/delete/108224/non-english
Del: in docs -- https://master.php.net/note/delete/108224/in+docs
Del: other reasons-- https://master.php.net/note/delete/108224
Reject -- https://master.php.net/note/reject/108224
Search -- https://master.php.net/manage/user-notes.php