hip1/6.4.php

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <table> <?php for($i=1; $i<=100; $i++){ $x = $i*$i; $z = $i*$i*$i; echo("<tr> <td>$i</td> <td>$x</td> <td>$z</td> </tr>"); } ?> </table> </body> </html>

Resultaat

Made by Thijs Aarnoudse