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
dvprog_06 [2012-10-18 13:22]
Daniel Viström
dvprog_06 [2023-09-18 09:15] (current)
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>
 +
 +
 +<php>
 +/**
 +
 +
 +**/
 +</php>