瀏覽代碼

ugh sql table name change again

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

+ 2
- 2
gw-record.php 查看文件

@@ -18,7 +18,7 @@ if ($con->connect_errno > 0){
}
echo '<STYLE TYPE="TEXT/CSS" MEDIA="SCREEN">body { background-color: ' . $profcolor . '; }</STYLE>';
echo '<CENTER>At ';
$sqlmaplocation = "SELECT * FROM `treasurelocation` WHERE `treasureid` = $location";
$sqlmaplocation = "SELECT * FROM `treasuredata` WHERE `treasureid` = $location";
if (!$result = $con->query($sqlmaplocation)){
die ('There was an error running the query [' . $con->error . ']');
}
@@ -152,4 +152,4 @@ if ($whatdropped == "1"){
<!-- really need to make a footer page for this -->
<BR /><BR /><CENTER><FORM METHOD="POST" ACTION="gw-logout.php"><INPUT TYPE="HIDDEN" NAME="logout"><INPUT TYPE="SUBMIT" VALUE="Logout"></FORM></CENTER>
</BODY>
</HTML>
</HTML>

Loading…
取消
儲存