From f72d21e7dc284c4ffed7201a5b60f42b35fa3676 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sat, 10 Jun 2017 01:35:51 -1000 Subject: [PATCH] and even more color consistency --- gw-record.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gw-record.php b/gw-record.php index aef3d67..ce936ed 100644 --- a/gw-record.php +++ b/gw-record.php @@ -10,11 +10,13 @@ session_start(); include_once 'gw-connect.php'; $con = new mysqli(DATABASE_HOST, DATABASE_USER, DATABASE_PASS, DATABASE_NAME); $toonid = $_SESSION['playerid']; +$profcolor = $_SESSION['profcolor']; $location = mysqli_real_escape_string($con, $_POST['locationid']); $whatdropped = mysqli_real_escape_string($con, $_POST['gwdrop']); if ($con->connect_errno > 0){ die ('Unable to connect to database [' . $db->connect_errno . ']'); } +echo ''; echo '
At '; $sqlmaplocation = "SELECT * FROM `treasurelocation` WHERE `treasureid` = $location"; if (!$result = $con->query($sqlmaplocation)){