Re: Re: removing an element from an array
| From: | Dennis Sterzenbach | Date: | Wed, 01 Oct 2003 11:47:26 +0000 |
| Subject: | Re: Re: removing an element from an array | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164536@lists.php.net to get a copy of this message | ||
"Angelo Zanetti" <binc2@ctech.ac.za> wrote in message
news:BPEOIJEFGCBLOABOGLIDAEDGCJAA.binc2@ctech.ac.za...
> how do I find the position of the element in the array? based on the
value
> that is passed? if there a funtion for this or do I manually have to
get
> this value?
>
$key = array_search("value-to-search");
--
Dennis Sterzenbach
www.darknoise.de