<?php //toongetallen.php require_once "GetallenReeksMaker.php"; ?> <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>Getallenreeks</title> </head> <body> <?php $getallenReeksMaker = new GetallenReeksMaker(); $tabel = $getallenReeksMaker->getreeks(); ?> <table border="1"> <tbody> <tr> <?php foreach ($tabel as $getal) { ?> <td> <?php print $getal; ?> </td> <?php