Re: Trouble figuring out a Walk through an Array
| From: | Greg Donald | Date: | Thu, 13 Oct 2005 16:08:55 +0000 |
| Subject: | Re: Trouble figuring out a Walk through an Array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-224060@lists.php.net to get a copy of this message | ||
On 10/13/05, Phillip S. Baker <pbaker@hwsinet.com> wrote:
> I want to see if $key matches any of the values in $required. If so do
> something in particular. If not then do something else. It does not
> particularly matter which value in the $required it matches, just so long as
> it matches.
in_array()
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/