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 '