From e6cd8e69948341a4a511f7bcdb26e99036a84066 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Mon, 30 Jul 2018 15:43:00 -1000 Subject: [PATCH] ugh sql table name again --- gw-location.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gw-location.php b/gw-location.php index 5985b23..e568238 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 treasuredata.treasureid, treasuredata.location FROM treasurelocation"; +$sqlmaploc = "SELECT treasuredata.treasureid, treasuredata.location FROM treasuredata"; if (!$resultmap = $con->query($sqlmaploc)){ die ('There was an error running the query [' . $con->error . ']'); }