From 3eafa3d8ad4c9a5a050dd210a409a001ef85c924 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Mon, 22 May 2017 00:25:21 -1000 Subject: [PATCH] no need to pull the word rune from the database --- gw-pull.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gw-pull.php b/gw-pull.php index 43602bf..e0b0586 100644 --- a/gw-pull.php +++ b/gw-pull.php @@ -3,7 +3,7 @@ connect_errno > 0){ die ('Unable to connect to database [' . $db->connect_errno . ']'); } @@ -17,7 +17,7 @@ if (mysqli_num_rows($result) > 0) { while ($row = $result->fetch_array()){ echo 'On ' . $row['historydate'] . ', "' . $row['charname'] . '" got ' . $row['goldrec'] . 'GP and '; if ($row['itemtype'] == 16) { //this would be a rune - echo 'a ' . $row['itemtype'] . ' of ' . $row['runetype']; + echo 'a rune of ' . $row['runetype']; } 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