How to remove a value from a array

From: Date: Tue, 10 Jul 2001 22:07:39 +0000
Subject: How to remove a value from a array
Groups: php.windows 
Request: Send a blank email to php-windows+get-8236@lists.php.net to get a copy of this message
Hi How can I remove a vale from a array() eg; $a = array("1","2","3"); if I then unset($a[1]) the value is NULL, or the offset is empty, and you get a error if yoy try to access that element. What I want/need is a function whic can remove a valy/key from a array Does such a function exists ? Thanks in advance Steen

« previous php.windows (#8236) next »