l105/klas 5/P2/phpserver/H6/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> <tr></tr> <?php for($i=1; $i<101; $i++){ $twee = $i*$i; $drie = $i*$i*$i; echo"<tr> <td>$i</td> <td>$twee</td> <td>$drie <br/></td> </tr> "; } ?> </body> </html>

Resultaat

Made by Thijs Aarnoudse