elenat82
9/6/2015 - 1:50 PM

costrutti for annidati.php

<?php
echo "<table>";
for ($i=1; $i<=10; $i++) {
	echo "<tr>";
	for ($j=1; $j<=10; $j++) {
		echo "<td>".$i*$j."</td>";
	}
	echo "</tr>";
}
echo "</table>";
?>