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 . ']'); }