Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
dvprog_06 [2012-10-10 12:10]
Daniel Viström created
dvprog_06 [2018-09-10 15:14]
Daniel Viström
Line 4: Line 4:
 <?php <?php
 include('head.php'); include('head.php');
-echo '<table style="width: 80px;"><caption>7:ans tabell</caption>';  +echo '<table style="width: 80px;">';  
 $i = 1; $i = 1;
 while ($i <=10) { while ($i <=10) {
-  echo '<tr><td>' . $i . 'x7</td><td>=</td><td>' . $i*7 . '</td></tr>';+  echo '<tr><td>' . $i . 'x7</td><td>=</td><td>'($i*7. '</td></tr>';
   $i++;   $i++;
 } }