note 30515 added to control-structures.elseif
| From: | Clovis at rack1 dot php dot net | Date: | Thu, 20 Mar 2003 19:48:41 +0000 |
| Subject: | note 30515 added to control-structures.elseif | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45568@lists.php.net to get a copy of this message | ||
On the above example posted 21-Jul-2002 10:11 one should note that the comparision is "=="
not "=" so
if (a = b)
wont give the expected result as
if (a==b)
will do the job.
--
http://www.php.net/manual/en/control-structures.elseif.php
http://master.php.net/manage/user-notes.php?action=edit+30515
http://master.php.net/manage/user-notes.php?action=delete+30515
http://master.php.net/manage/user-notes.php?action=reject+30515