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
Next revision Both sides next revision
dvprog_11 [2017-02-27 09:48]
Daniel Viström
dvprog_11 [2017-06-06 22:04]
Daniel Viström
Line 56: Line 56:
   }     }  
 } }
- 
-include('head.php'); 
  
 /*  /* 
Line 65: Line 63:
  */  */
 include('functions.php'); include('functions.php');
 +
 +include('head.php');
  
 // php har en massa färdiga funktioner, bl.a. för strängar. // php har en massa färdiga funktioner, bl.a. för strängar.
 // Värdet som returneras kan skrivas ut eller // Värdet som returneras kan skrivas ut eller
 // sparas i en variabel. // sparas i en variabel.
-echo strrev('.dlrow olleH');+echo strrev('.dlrow olleH'. '<br />';
 $text='dallas'; $text='dallas';
 $text2=strrev($text); $text2=strrev($text);