This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
WillyVervest
/
zeeslag
forked from
FSD21-22/zeeslag
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
destroy session - reset game
SESSION
Ruben De Baets
2 years ago
parent
9232705a64
commit
8b96f70dcd
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
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";
Write
Preview
Loading…
Cancel
Save