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