diff --git a/gw-location.php b/gw-location.php index ce15537..31f1f04 100644 --- a/gw-location.php +++ b/gw-location.php @@ -7,17 +7,17 @@ $playerid = mysqli_real_escape_string($con, $_POST['playerid']); if ($con->connect_errno > 0){ die ('Unable to connect to database [' . $db->connect_errno . ']'); } -$sqlmaploc = "SELECT * FROM treasurelocation"; +$sqlmaploc = "SELECT treasurelocation.treasureid, treasurelocation.location FROM treasurelocation"; if (!$resultmap = $con->query($sqlmaploc)){ die ('There was an error running the query [' . $con->error . ']'); } echo '