note 9142 deleted from function.in-array by jimw
| From: | jimw@php.net | Date: | Fri, 07 Dec 2001 21:06:33 +0000 |
| Subject: | note 9142 deleted from function.in-array by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21962@lists.php.net to get a copy of this message | ||
To check if a keys exists, you can do this
if
(in_array("keyb",array_keys(array("key"=>"a","keyb"=>"b")))))
{
...
}