From 201ead0f33ca952423a996adb0601e2d95ca464b Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Mon, 30 Jul 2018 15:41:33 -1000 Subject: [PATCH] forgot I changed table name --- gw-location.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gw-location.php b/gw-location.php index bec02c6..5985b23 100644 --- a/gw-location.php +++ b/gw-location.php @@ -13,7 +13,7 @@ $profcolor = $_SESSION['profcolor']; if ($con->connect_errno > 0){ die ('Unable to connect to database [' . $db->connect_errno . ']'); } -$sqlmaploc = "SELECT treasurelocation.treasureid, treasurelocation.location FROM treasurelocation"; +$sqlmaploc = "SELECT treasuredata.treasureid, treasuredata.location FROM treasurelocation"; if (!$resultmap = $con->query($sqlmaploc)){ die ('There was an error running the query [' . $con->error . ']'); } @@ -31,4 +31,4 @@ echo '


- \ No newline at end of file +