Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include_once('./globals.php');
- if(isset($_GET['complete'])) {
- $db->query('UPDATE `users` SET `tutorial` = -1 WHERE (`userid` = '. $_SESSION['userid'] .');');
- header('Location: index.php');
- }
- if(isset($_GET['skip'])) {
- $db->query('UPDATE `users` SET `tutorial` = `tutorial` + 1 WHERE (`userid` = '. $_SESSION['userid'] .');');
- header('Location: index.php');
- }
Advertisement
Add Comment
Please, Sign In to add comment