Deleting array fields...
| From: | Jason Giangrande | Date: | Wed, 23 Jul 2003 02:28:01 +0000 |
| Subject: | Deleting array fields... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-156371@lists.php.net to get a copy of this message | ||
Is there a way to delete array fields without resort the keys? The keys
of this particular array are the position of the words it holds to their
position in a string and if they are changed it screws everything up. I
tried using array_splice but that, unfortunately, rearranges the keys.
So, to reiterate, what I want to do is remove a key from an array but
not have the keys automatically reassigned.
Thanks,
Jason Giangrande