Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
dvprog_06 [2017-09-01 14:54]
127.0.0.1 external edit
dvprog_06 [2019-09-09 09:19]
Daniel Viström
Line 3: Line 3:
 <code php> <code php>
 <?php <?php
-include('head.php');+include 'head.php';
 echo '<table style="width: 80px;">';   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++;
 } }
 echo '</table>'; echo '</table>';
-include('foot.php');+include 'foot.php';
 </code> </code>