ソースを参照

used wrong variable

development
mauirixxx 8年前
コミット
ec0ee90246
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      gw-pull.php

+ 1
- 1
gw-pull.php ファイルの表示

@@ -53,7 +53,7 @@ if (mysqli_num_rows($result) > 0) {
echo ' named ' . $row['itemname'];
} else {
//need to insert material linking code here
$matid = $row['materialid'];
$matid = $row['material'];
$sqlmat = "SELECT material FROM materials WHERE materialid = $matid";
if (!$resultmats = $con->query($sqlmat)){
die ('There was an error running the query [' . $con->error . ']');


読み込み中…
キャンセル
保存