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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to