<title> Listarea unui masiv in tabel HTML</title>
<?php
$tabel
[0]=array(0=>"ANUL","FB","MN","CIG");

$tabel[]=array("I","75","80","60");

$tabel[]=array("II","100","100","96");

$tabel[]=array("III","100","100","-");


echo 
"<table border =2>";


for(
$i=0;$i<4;$i++)
{
    echo
"<br><tr>";
        for(
$j=0;$j<4;$j++)
            echo 
"<td>".$tabel[$i][$j]."</td>";
        echo 
"</tr>";

}
echo 
"</table>";
?>
1
vezi rezultatul