note 60778 deleted from function.next by nlopess
| From: | nlopess@php.net | Date: | Mon, 16 Jan 2006 12:07:04 +0000 |
| Subject: | note 60778 deleted from function.next by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-101921@lists.php.net to get a copy of this message | ||
Note Submitter: xxflip_pt at yahoo dot com
----
The best way I found so far to go through all elements of an array is:
reset($myarray);
do {
access the value using: current($myarray);
} while (next($myarray));