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_14 [2020-05-18 20:19]
Daniel Viström
dvprog_14 [2020-05-18 20:20]
Daniel Viström
Line 14: Line 14:
 <code php> <code php>
 <?php <?php
 +include 'counter.php';
 include 'head.php'; include 'head.php';
  
Line 70: Line 71:
 <code php> <code php>
 <?php <?php
 +include 'animals.php';
 include 'head.php'; include 'head.php';
-include 'animals.php'; 
- 
  
 $a1 = new Animal();   // Skapar en ny instans (objekt) av klassen Animal. Vikten blir 0 (se klassen). $a1 = new Animal();   // Skapar en ny instans (objekt) av klassen Animal. Vikten blir 0 (se klassen).