This is an old revision of the document!
Lösning till uppgift 2
<?php include('head.php'); echo '<table style="width: 80px;"><caption>7:ans tabell</caption>'; $i = 1; while ($i <=10) { echo '<tr><td>' . $i . 'x7</td><td>=</td><td>' . $i*7 . '</td></tr>'; $i++; } echo '</table>'; include('foot.php');