Re: array empty after use
| From: | Tom Rogers | Date: | Tue, 21 May 2002 10:17:58 +0000 |
| Subject: | Re: array empty after use | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98571@lists.php.net to get a copy of this message | ||
Hi
You just need to reset the array pointer with reset($array_name)
Tom
At 07:47 PM 21/05/2002, Web wrote:
Hi there. When an array is 'used' with something like do while I can't re-access it later in the page. It is as if the array gets used up and doesn't exist. The array is from a select statement using myself. I have inserted a duplicate array with a different name to get around this but figure there must be a simpler way. Any ideas please? Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php