Kaynağa Gözat

ugh sql table name again

development
mauirixxx 7 yıl önce
committed by GitHub
ebeveyn
işleme
e6cd8e6994
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      gw-location.php

+ 1
- 1
gw-location.php Dosyayı Görüntüle

@@ -13,7 +13,7 @@ $profcolor = $_SESSION['profcolor'];
if ($con->connect_errno > 0){ if ($con->connect_errno > 0){
die ('Unable to connect to database [' . $db->connect_errno . ']'); 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)){ if (!$resultmap = $con->query($sqlmaploc)){
die ('There was an error running the query [' . $con->error . ']'); die ('There was an error running the query [' . $con->error . ']');
} }


Yükleniyor…
İptal
Kaydet