From 06196b4037a9bef52d893d5593b3e85b35e4c8d4 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sun, 21 May 2017 23:20:59 -1000 Subject: [PATCH] could it be the itemname breaking something? --- gw-insert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gw-insert.php b/gw-insert.php index 9990f5d..43809e7 100644 --- a/gw-insert.php +++ b/gw-insert.php @@ -11,7 +11,7 @@ if ($droptype == 1){ $req = mysqli_real_escape_string($con, $_POST['requirement']); $attrib = mysqli_real_escape_string($con, $_POST['attribute']; $weap = mysqli_real_escape_string($con, $_POST['weapon']); - $itname = mysqli_real_escape_string($con, $_POST['itemname']); + //$itname = mysqli_real_escape_string($con, $_POST['itemname']); //echo 'SQL code to run: "INSERT INTO `history` (historydate, charnameid, locationid, goldrec, itemreq, itemtype, itemattribute, itemrarity, itemname) VALUES (\'$variable-date-of-treasure\', ' . $toonid . ', ' . $locid . ', ' . $gold . ', ' . $req . ', ' . $weap . ', '$variable-attribute-of-weapon', '$variable-rarity-of-weapon', '$variable-name-of-weapon');"'; echo 'Well something broke somewhere!
'; } else if ($droptype == 2){