> > Hello,
> > how can I complete remove an item out of an array ?
> > I tried unset() as well as setting the value to null.
> >
> > Both result in the value being null but not the item being deleted.
> 
> As far as I know, this is not possible. You can, however, create a new
> array
> and copy all values except the deleted one from the old array, for example
> with two array_slice() calls.

http://php.net/manual/en/language.types.array.php
there is written:
"To change a certain value, just assign a new value to it. If you want to
remove a key/value pair, you need to unset() it."

michi

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

--
GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to