php foreach array asociativo code example
Example: php foreach array
$arr = array(1, 2, 3);
foreach ($arr as $key => $value) {
echo "{$key} => {$value} ";
}
$arr = array(1, 2, 3);
foreach ($arr as $key => $value) {
echo "{$key} => {$value} ";
}