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?
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to