while(list($key,$value)=each($arr)){
echo "<h2>" . $kunci . "</h2>";
echo "<table width='500' border='1'>";
while(list($k,$v)=each($value)){
echo '<tr>';
while(list($kk,$vv)=each($v)){
echo '<td>' . $vv . '</td>';
}
echo '</tr>';
}
echo '</table>';
}
$kunci hanya pusatkannya