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_14 [2017-11-13 01:08]
Daniel Viström
dvprog_14 [2019-09-09 09:26]
Daniel Viström
Line 42: Line 42:
 // Här börjar huvudprogrammet. // Här börjar huvudprogrammet.
  
-include('head.php');+include 'head.php';
  
 $a = new Counter(); $a = new Counter();
Line 63: Line 63:
 echo $b->getValue() . '<br>'; echo $b->getValue() . '<br>';
  
-include('foot.php');+include 'foot.php';
  
 </code> </code>
Line 71: Line 71:
 <code php> <code php>
 <?php <?php
-include('head.php')+include 'head.php'; 
-include('animals.php');+include 'animals.php';
  
  
Line 90: Line 90:
 echo $d1->info();  // Det kan vara bra att fatta vad som händer här... echo $d1->info();  // Det kan vara bra att fatta vad som händer här...
    
-include('foot.php');+include 'foot.php';
  
 </code> </code>