Re: Re: Global Arrays ?
| From: | Bogdan Stancescu | Date: | Fri, 21 Dec 2001 01:05:23 +0000 |
| Subject: | Re: Re: Global Arrays ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78377@lists.php.net to get a copy of this message | ||
Why is this needed in this case an not for local variables? You probably are right,
I don't imply you aren't, but why is a reset needed in local scope when using
global variables? Is it possible to start an each() in a function and continue it
in another for global arrays?
Philip Hallstrom wrote:
> Add a reset($g_months) right before your while(...) statement.