note 37270 deleted from function.in-array by vincent
| From: | vincent@php.net | Date: | Fri, 07 Nov 2003 22:08:49 +0000 |
| Subject: | note 37270 deleted from function.in-array by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60130@lists.php.net to get a copy of this message | ||
Note Submitter: Lee Benson
----
In my previous post, the first comparison example should have had had double == signs, like so...
if ($var == 1 || $var == 2 || $var == 3 || $var == 4) {
// do this
}
Apologies for any confusion.