This article describes arrays in PHP.
Description
...
Iterations
You can iterate through arrays in various ways.
Example using while()
:
<code>
<?php
while (list($var, $val) = each($array)) {
print "$var is $val\n";
}
?>
</code>
See also
External links
Iteration: