note 24210 deleted from function.next by aidan
| From: | aidan@php.net | Date: | Sat, 18 Sep 2004 04:31:34 +0000 |
| Subject: | note 24210 deleted from function.next by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-76907@lists.php.net to get a copy of this message | ||
Note Submitter: webmaster ( at ) ideteknik . se
----
To work with the elements in an array,
why not do it the simple understandable way:
reset($testarray);
do {
$value = current ($testarray);
$key = key ($testarray);
echo "< br >Value: $value Key: $key";
} while (next($testarray));