On Wednesday 30 January 2002 19:24, marc beyerlin wrote:
> hi,
>
> is it possible to kill an enrtry in an assoziative array, like:
>
> array["first"]="räuber hotzenblotz";
> array["second"]="schneewitchen";
> array["third"]="rapunzel";
>
>
> kill array["second"];

Use unset(). Eg:

unset($array['second']);




-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
We may not return the affection of those who like us, but we always respect
their good judgement.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to