Browse Source

destroy session - reset game

SESSION
Ruben De Baets 2 years ago
parent
commit
8b96f70dcd
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      index.php

+ 1
- 0
index.php View File

@@ -33,6 +33,7 @@
$shot = $_POST['shot'];
if ($shot == $sub) {
echo 'Gewonnen';
session_destroy();
?> <br /><a href="/">Reset Game</a><?php
} else {
echo "Gemist";

Loading…
Cancel
Save