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 Both sides next revision
dvprog_05 [2019-09-09 09:18]
Daniel Viström
dvprog_05 [2019-09-09 09:18]
Daniel Viström
Line 53: Line 53:
 <code php> <code php>
 <?php <?php
-include('head.php');+include 'head.php';
  
 $summa = 0;               // Startvärde för summan $summa = 0;               // Startvärde för summan
Line 63: Line 63:
 echo '<br>Summan av var tredje tal under 100 blir: ' . $summa . '<br>'; echo '<br>Summan av var tredje tal under 100 blir: ' . $summa . '<br>';
  
-include('foot.php');+include 'foot.php';
 ?> ?>
 </code> </code>
Line 72: Line 72:
 <code php> <code php>
 <?php <?php
-include('head.php');+include 'head.php';
  
 $summa = 0;                          // Startvärde $summa = 0;                          // Startvärde
Line 86: Line 86:
 echo 'Summan är: ' . $summa . '<br>'; echo 'Summan är: ' . $summa . '<br>';
  
-include('foot.php');+include 'foot.php';
 ?> ?>
 </code> </code>