Browse Source

ugh sql table name again

development
mauirixxx 7 years ago
committed by GitHub
parent
commit
e6cd8e6994
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      gw-location.php

+ 1
- 1
gw-location.php View File

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


Loading…
Cancel
Save