go through list in php code example
Example 1: loop through values of hash php
foreach ($array as $key => $val) {
print "$key = $val\n";
}
Example 2: loop through php array
foreach (array_expression as $value)
statement
foreach (array_expression as $key => $value)
statement