Re: Simple array question
| From: | Jason Wong | Date: | Wed, 22 Oct 2003 20:19:48 +0000 |
| Subject: | Re: Simple array question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167161@lists.php.net to get a copy of this message | ||
On Friday 24 October 2003 03:01, René Fournier wrote:
> Is there a simple way to return the key (name) of one element in an
> array? I looked up key() in the docs, but there are no examples or
> notes...
array_search()
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Neuroses are red,
Melancholia's blue.
I'm schizophrenic,
What are you?
*/