note 37270 added to function.in-array

From: Date: Fri, 07 Nov 2003 22:07:01 +0000
Subject: note 37270 added to function.in-array
Groups: php.notes 
Request: Send a blank email to php-notes+get-60128@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.in-array.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37270 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37270&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37270&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60128) next »