RE: [PHP] array empty after use
| From: | David Freeman | Date: | Tue, 21 May 2002 22:41:27 +0000 |
| Subject: | RE: [PHP] array empty after use | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98665@lists.php.net to get a copy of this message | ||
> When an array is 'used' with something like do while I can't
> re-access it later in the page.
Arrays have a pointer that steps through the array as you 'use' it.
Once you reach the end you'll have to reset that pointer before you can
step through the array again. See the manual section on arrays for ways
to do this.
CYA, Dave