Posted by Jordan Miller on 08/17/05 18:18
you use the unset() function:
unset($array[$key]); // http://www.php.net/unset
you can reindex the keys if they are numeric with:
$reindexedArray = array_values($array); // http://www.php.net/
array_values
Jordan
On Aug 17, 2005, at 1:12 PM, Tomás Rodriguez Orta wrote:
> Hi people.
>
> How Can I do this.
> I want to delete an element behind of array?, what function What
> Can I use?
>
> best regards TOMAS
>
>
> ----------------------------------------------------------------------
> ---
> Este correo fue escaneado en busca de virus con el MDaemon
> Antivirus 2.27
> en el dominio de correo angerona.cult.cu y no se encontro ninguna
> coincidencia.
[Back to original message]
|