Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
dvprog_11 [2016-03-16 11:36] Daniel Viström |
dvprog_11 [2017-02-27 09:44] Daniel Viström |
||
---|---|---|---|
Line 17: | Line 17: | ||
$test = ' | $test = ' | ||
echo $test . '< | echo $test . '< | ||
- | $tal1 = $tal1 + $tal2; | + | $summa = $tal1 + $tal2; |
- | | + | $tal1 = 1000; // $tal ändras bara i funktionen. |
+ | return $summa; // Skickar tillbaka svaret. | ||
} | } | ||