note 31206 deleted from function.array-slice by didou

From: Date: Fri, 30 Jan 2004 10:28:08 +0000
Subject: note 31206 deleted from function.array-slice by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-64425@lists.php.net to get a copy of this message
Note Submitter: dharana@dharana.net ---- In response to "j dot bailleul at free dot fr " idea to remove an item from an array, I found this a bit easier: unset($arr[5]); // This removes the element from the array unset($arr['banana']); // remove element with key 'banana' I found this here: http://forums.devshed.com/archive/5/2002/12/2/48525

« previous php.notes (#64425) next »