<HTML>
<HEAD>
<TITLE>
</TITLE>
</HEAD>
<BODY>

<?php

// Multi-dimensional arrays 

$mikes_grades = array('Exam1' => 90, 'Exam2' => 95);
$adams_grades = array('Exam1' => 80, 'Exam2' => 87);
$johns_grades = array('Exam1' => 96, 'Exam2' => 98);

$name_grade = array('Mike' => $mikes_grades, 'Adam' => $adams_grades, 
		'John' => $johns_grades);

echo "<P>";

foreach ($name_grade as $i => $val)
{
        foreach ($val as $j => $v)
                echo "name_grade[$i][$j] = $v, ";
        echo "<P>";
}
echo "<BR>";


?>

</BODY>
</HTML>
