Emptying a Single Array Value
| From: | Martin Clifford | Date: | Wed, 12 Jun 2002 18:48:50 +0000 |
| Subject: | Emptying a Single Array Value | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101791@lists.php.net to get a copy of this message | ||
Howdy,
If someone out there could tell me how to get rid of a single key/index pair within an array, it
would be great. I've tried both unset() and empty(), but both destroy the entire array.
Please CC me directly, as I'm on the digest.
Thanks in advance!
Martin