RE: [PHP] Remove value from array
| From: | Kristian Duske | Date: | Mon, 25 Jun 2001 16:10:32 +0000 |
| Subject: | RE: [PHP] Remove value from array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55156@lists.php.net to get a copy of this message | ||
> 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."
Damn, I looked for that and didn't find it =). Anyway, thanks for the heads
up. I was pretty sure it wasn't possible to completely remove a key / value
pair from an array.
Kristian