瀏覽代碼

ugh sql table name again

development
mauirixxx 7 年之前
committed by GitHub
父節點
當前提交
e6cd8e6994
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      gw-location.php

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


Loading…
取消
儲存