php iteration on array code example
Example: php ofreach
<?php
$a = array(1, 2, 3, 17);
foreach ($a as $index => $v) {
echo "Current value of \$a: $v.\n";
}
?>
<?php
$a = array(1, 2, 3, 17);
foreach ($a as $index => $v) {
echo "Current value of \$a: $v.\n";
}
?>