RE: [PHP] ARRAY QUESTION
| From: | Chris W. Parker | Date: | Thu, 24 Jul 2003 19:46:54 +0000 |
| Subject: | RE: [PHP] ARRAY QUESTION | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-156727@lists.php.net to get a copy of this message | ||
Dale Hersh <mailto:dalehersh@hotmail.com>
on Thursday, July 24, 2003 12:41 PM said:
> 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.
unset($myStuff);