l103/6.4.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>6.4</title>
</head>
<body>
<?php
echo "<table>";
for($x=0; $x<=100; $x++){
echo "<tr>";
echo "<td>".($x + 1)."</td>";
echo "<td>".($x * $x)."</td>";
echo "<td>".($x *$x * $x)."</td>";
echo"</tr>";
}
?>
<table>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
</table>
</body>
</html>
Resultaat
Made by Thijs Aarnoudse