From 9341d8865443072f329ed908a47c337fd47b3a57 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sat, 10 Jun 2017 01:34:19 -1000 Subject: [PATCH] more consistency. sessions are fun --- gw-location.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gw-location.php b/gw-location.php index 9728e3d..0e1e357 100644 --- a/gw-location.php +++ b/gw-location.php @@ -9,6 +9,7 @@ session_start(); include_once 'gw-connect.php'; $con = new mysqli(DATABASE_HOST, DATABASE_USER, DATABASE_PASS, DATABASE_NAME); $playerid = $_SESSION['playerid']; +$profcolor = $_SESSION['profcolor']; if ($con->connect_errno > 0){ die ('Unable to connect to database [' . $db->connect_errno . ']'); } @@ -16,6 +17,7 @@ $sqlmaploc = "SELECT treasurelocation.treasureid, treasurelocation.location FROM if (!$resultmap = $con->query($sqlmaploc)){ die ('There was an error running the query [' . $con->error . ']'); } +echo ''; echo '
'; echo '