<?php
//Create array and initialise it's elements
$a=array(3,2,"el3"=>7);
//Show content of array in a table
echo "<TABLE BORDER>"; //Start point of table
foreach($a as $key=>$val)
{
echo "<TR>"; //Start of table row
echo "<TD>$key=$val</TD>";
echo "</TR>"; //End of table row
} //end of cycle's body
echo "</TABLE>"; //end of the table
?>Örnek olarak bunu aldım hocalardan, bunun gibi bişi hazırlanabilir mi?