Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dvprog_06_2 [2017-09-22 10:34]
Daniel Viström
dvprog_06_2 [2018-09-17 10:37] (current)
Daniel Viström
Line 8: Line 8:
 <?php <?php
 include('​head.php'​);​ include('​head.php'​);​
-  +
-$i = 0;  //Tiotal+
 echo '<​table>';​ echo '<​table>';​
 +$i = 0;  //Tiotal
 while ($i < 10){    // Loopa $i från 0 - 9 while ($i < 10){    // Loopa $i från 0 - 9
   echo '<​tr>'; ​     // Ny rad   echo '<​tr>'; ​     // Ny rad