<?php $i=1; for ($i=1;$i<10;$i++) { $j=1; for ($j=1;$j<10;$j++) { $t = $k[$j] = $i * $j; echo "$i X $j = ".$t; echo "<br>"; if (!($j<9)) { echo "-------"; echo "<br>"; print "Toplam :". (array_sum($k))."<br>"; echo "-------"; echo "<br>"; } } } ?>