I am trying to figure out how to work with a
Multidimensional Array.
for ($g = 0; $g < 10; $g++) {
for ($i = 0; $i < 5; $i++) {
$ucourses[$g][$i] = 7;
}
}
$total = count($ucourses);
echo"$total";
Count returns 12, how do I figure out the total for each part of the array?
Thanks,
Chris