From fd42d195ef39d93d0a1d357636ebae33e7ebda33 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Mon, 22 May 2017 16:41:29 -1000 Subject: [PATCH] test didn't work --- gw-insert.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gw-insert.php b/gw-insert.php index 3132c5f..78d2e0a 100644 --- a/gw-insert.php +++ b/gw-insert.php @@ -20,9 +20,8 @@ if ($droptype == 1){ } else if ($droptype == 2){ echo 'drop was a rare material!
'; } else if ($droptype == 3){ - $runeid = mysqli_real_escape_string($con, $_POST['runeid']); + $runeid = mysqli_real_escape_string($con, $_POST['rune']); $runerare = mysqli_real_escape_string($con, $_POST['runerarity']); - $runetype = mysqli_real_escape_string($con, $_POST['rune']); $sqlruneins = "INSERT INTO `history` (historydate, charnameid, locationid, goldrec, itemtype, itemrarity, runetype) VALUES ('$treasdate', $toonid, $locid, $gold, '16', $runerare, $runeid)"; if (!$result = $con->query($sqlruneins)){ die ('There was an error running the query [' . $con->error . ']');