Browse Source

ugh sql table name change again

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

+ 2
- 2
gw-record.php View File

@@ -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…
Cancel
Save