Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
dvprog_08 [2020-05-18 20:24] Daniel Viström |
dvprog_08 [2020-10-22 11:02] Daniel Viström |
||
---|---|---|---|
Line 19: | Line 19: | ||
// För att slippa felmeddelande första gången sidan laddas och inget är inmatat | // För att slippa felmeddelande första gången sidan laddas och inget är inmatat | ||
if(isset($_POST[' | if(isset($_POST[' | ||
- | $_SESSION[' | ||
- | | ||
if($_POST[' | if($_POST[' | ||
$_SESSION[' | $_SESSION[' | ||
+ | } else { | ||
+ | $_SESSION[' | ||
} | } | ||
} | } |