Differences
This shows you the differences between two versions of the page.
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(' | ||
/* | /* | ||
Line 65: | Line 63: | ||
*/ | */ | ||
include(' | include(' | ||
+ | |||
+ | include(' | ||
// 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(' | + | echo strrev(' |
$text=' | $text=' | ||
$text2=strrev($text); | $text2=strrev($text); |