Przeglądaj źródła

used wrong variable

development
mauirixxx 8 lat temu
rodzic
commit
ec0ee90246
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      gw-pull.php

+ 1
- 1
gw-pull.php Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz