Re: kill assoc array entry?

From: Date: Wed, 30 Jan 2002 11:26:02 +0000
Subject: Re: kill assoc array entry?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-82713@lists.php.net to get a copy of this message
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. */

« previous php.general (#82713) next »