Re: Deleting elements from the middle of an array

From: Date: Mon, 14 Mar 2011 20:35:40 +0000
Subject: Re: Deleting elements from the middle of an array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-311838@lists.php.net to get a copy of this message
> Here's what I need to do: I have an indexed array, from which I need to > delete elements in the middle. Once completed, the indexes should be > numerically in sequence, as they were when I first encountered the > array. I believe that array_values() will do the trick. Marc

« previous php.general (#311838) next »