From 756d31d4854bddd9b21365b88850d4a46e81279b Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Tue, 23 May 2017 10:45:04 -1000 Subject: [PATCH] no clue what I'm doing wrong --- gw-pull.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gw-pull.php b/gw-pull.php index 2ee5ca2..ccbec7a 100644 --- a/gw-pull.php +++ b/gw-pull.php @@ -22,6 +22,8 @@ if (mysqli_num_rows($result) > 0) { $sqlrune = "SELECT listrunes.`runeid`, listrunes.`runes` FROM listrunes WHERE listrunes.`runeid` = $runeid"; $runeresults = mysqli_query($con, $sqlrune); echo 'Results of mapping runeid to runes: ' $runeresults; */ + $test = $row['runetype']; + echo ' the runetype number coming from a variable: ' . $test . ' '; } else { if (is_null($row['material'])) { echo 'a ' . $row['itemrarity'] . ' r' . $row['itemreq'] . ' ' . $row['itemattribute'] . ' ' . $row['itemtype'] . ' named ' . $row['itemname'] . ''; //itemtype changed, need to convert itemtype to something readable