diff --git a/gw-insert.php b/gw-insert.php index 88c08c8..b67fdb3 100644 --- a/gw-insert.php +++ b/gw-insert.php @@ -22,6 +22,7 @@ if ($droptype == 1){ } else if ($droptype == 3){ $runeid = mysqli_real_escape_string($con, $_POST['runeid']); $runerare = mysqli_real_escape_string($con, $_POST['runerarity']); + $runetype = mysqli_real_escape_string($con, $_POST['rune']); echo "SQL code should be \"INSERT INTO `history` (historydate, charnameid, locationid, goldrec, itemtype, itemrarity, runetype) VALUES (\'$treasdate\', $toonid, $locid, $gold, \'16\', $runerare, $runeid)\"
"; echo 'drop was a rune!
'; } else { diff --git a/gw-record.php b/gw-record.php index aee8927..0473f9f 100644 --- a/gw-record.php +++ b/gw-record.php @@ -97,7 +97,7 @@ if ($whatdropped == "1"){ } else if ($whatdropped == "3"){ echo '
'; echo 'on a '; - echo ' '; + echo ' '; //code for what rune dropped $sqlrune = "SELECT * FROM `listrunes` ORDER BY `runeid` ASC"; if (!$result = $con->query($sqlrune)){ @@ -112,6 +112,7 @@ if ($whatdropped == "1"){ echo ' '; echo ' and gold pieces.'; echo ''; + echo ''; echo '

'; } else { echo '