From 7f6b6088bcef23d03b89c39d9103f47d561c4337 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Wed, 24 May 2017 22:36:20 -1000 Subject: [PATCH] starting to move data to session data --- gw-action.php | 4 +++- gw-toon.php | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gw-action.php b/gw-action.php index 7a70a9d..73a9319 100644 --- a/gw-action.php +++ b/gw-action.php @@ -1,4 +1,6 @@ Redirecting ...'; @@ -7,7 +9,7 @@ if ($action == 1){ //insert dropped items data echo '
'; } else if ($action == 2){ //view history of dropped items echo ''; - echo '
'; + echo '
'; } else { echo 'You shouldn\'t be seeing this, something went horribly horribly wrong!'; } diff --git a/gw-toon.php b/gw-toon.php index 7cc376b..b56812b 100644 --- a/gw-toon.php +++ b/gw-toon.php @@ -33,8 +33,10 @@ if ($whattoon == "0" or $whattoon == ""){ } echo '
'; echo ''; + $_SESSION['playerid'] = $whattoon; echo '
Select your course of action
    '; - echo '
  • Record loot info
  • View Character loot history
'; + echo '
  • Record loot info
  • '; + echo '
  • View Character loot history
  • '; echo '


    '; } echo '

    ';