I just built a simple foreach loop to run through an array, but nothing is displaying. No php errors by the way.
Can someone tell me why this isn't working?
$test = array (
"1" => array(
"name"=>"something"
),
"2" => array(
"name"=>"something"
)
);
foreach ($test as $key => $arr) {
echo $arr[$key]["name"];
}