RE: [PHP] ARRAY QUESTION
| From: | Jay Blanchard | Date: | Thu, 24 Jul 2003 19:44:03 +0000 |
| Subject: | RE: [PHP] ARRAY QUESTION | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-156725@lists.php.net to get a copy of this message | ||
[snip]
Lets pretend I have this array called myStuff. If I add two elements to
myStuff and call the count function, I will get a result of 2. My
question
is how do I re-initialize the array after adding elements so when I call
the
count function on the array, I get a result of 0.
[/snip]
If you add elements to the array the count will never be 0. What exactly
are you after?