Pārlūkot izejas kodu

ugh sql table name again

development
mauirixxx pirms 7 gadiem
committed by GitHub
vecāks
revīzija
e6cd8e6994
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      gw-location.php

+ 1
- 1
gw-location.php Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt