Re: is there an "in" qualifier in PHP?

From: Date: Tue, 26 Feb 2002 22:37:40 +0000
Subject: Re: is there an "in" qualifier in PHP?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-86324@lists.php.net to get a copy of this message
I'm tired :) -- Stewart --- J Smith <dark_panda@hushmail.com> wrote: > > That will result in a parse error. I think you mean > > if (in_array($row['id'], $selected_users)) { /* execute */ } > > J > > > > Stewart G. wrote: > > > if ($row['id'] in_array ($selected_users)) { // execute } > > > > =S. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com

« previous php.general (#86324) next »