Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dvprog_08 [2020-05-18 18:24] Daniel Viström |
dvprog_08 [2022-07-18 11:20] (current) |
||
|---|---|---|---|
| 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[' | ||
| } | } | ||
| } | } | ||