|
|
|
@@ -18,6 +18,10 @@ if (mysqli_num_rows($result) > 0) { |
|
|
|
echo 'On ' . $row['historydate'] . ', "' . $row['charname'] . '" got ' . $row['goldrec'] . 'GP and '; |
|
|
|
if ($row['itemtype'] == 16) { //this would be a rune |
|
|
|
echo 'a rune of ' . $row['runetype']; |
|
|
|
$runeid = '6'; |
|
|
|
$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; |
|
|
|
} 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 |
|
|
|
@@ -31,9 +35,6 @@ if (mysqli_num_rows($result) > 0) { |
|
|
|
echo 'There is no data to display for that character yet'; |
|
|
|
} |
|
|
|
# test getting rune results without breaking working parts |
|
|
|
$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; |
|
|
|
?> |
|
|
|
<BR /> |
|
|
|
Return to <A HREF="gw-toon.php">character selection</A> page |