瀏覽代碼

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


Loading…
取消
儲存