From 2b5dec3ba12abde292c6a9814d3a9920254bdf7b Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Mon, 22 May 2017 16:26:52 -1000 Subject: [PATCH] would help if rune code was actually in rune section --- gw-insert.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gw-insert.php b/gw-insert.php index 13dfd90..88c08c8 100644 --- a/gw-insert.php +++ b/gw-insert.php @@ -18,11 +18,11 @@ if ($droptype == 1){ die ('There was an error running the query [' . $con->error . ']'); } } else if ($droptype == 2){ + echo 'drop was a rare material!
'; +} else if ($droptype == 3){ $runeid = mysqli_real_escape_string($con, $_POST['runeid']); $runerare = mysqli_real_escape_string($con, $_POST['runerarity']); 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 rare material!
'; -} else if ($droptype == 3){ echo 'drop was a rune!
'; } else { echo 'No data was sent!
';