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_07 [2015-09-10 08:49]
127.0.0.1 external edit
dvprog_07 [2015-12-16 09:58]
Daniel Viström
Line 50: Line 50:
 print_r($arr2); print_r($arr2);
  
-include('foot.php'); 
-</code> 
- 
- 
-<php> 
-/* 
 echo '<br /><br />'; echo '<br /><br />';
 //$ages = array (34,23,45); //$ages = array (34,23,45);
Line 65: Line 59:
 print_r($ages); print_r($ages);
 echo $ages['Birgitta'] . '<br /><br />'; echo $ages['Birgitta'] . '<br /><br />';
- 
- 
  
 $arr3 = array (     // Kan innehålla flera olika saker. $arr3 = array (     // Kan innehålla flera olika saker.
Line 77: Line 69:
 echo $arr3['colors'][2];  // Först yttre nyckeln, sedan inre nyckeln. echo $arr3['colors'][2];  // Först yttre nyckeln, sedan inre nyckeln.
  
 +include('foot.php');
 +</code>
 +
 +
 +<php>
 +/*
 echo '<pre>';     // För att se vita tecken i html. echo '<pre>';     // För att se vita tecken i html.
 echo '</pre>'; echo '</pre>';