From 0622bc55433802b66b7980b62a12b8fa36621a81 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sun, 21 May 2017 23:27:54 -1000 Subject: [PATCH] gah. these ) will be the death of me --- gw-insert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gw-insert.php b/gw-insert.php index 75c1255..d5900d3 100644 --- a/gw-insert.php +++ b/gw-insert.php @@ -5,7 +5,7 @@ $con = new mysqli(DATABASE_HOST, DATABASE_USER, DATABASE_PASS, DATABASE_NAME); $gold = mysqli_real_escape_string($con, $_POST['droppedgold']); //how much gold dropped $droptype = mysqli_real_escape_string($con, $_POST['droptype']); //this dictates if the drop was a weapon/rune/material $locid = mysqli_real_escape_string($con, $_POST['location']); //this is `treasurelocation`.`treasureid` in the database -$toonid = mysqli_real_escape_string($con, $_POST['chartoon']; //this is the id of the character doing the hunting +$toonid = mysqli_real_escape_string($con, $_POST['chartoon']); //this is the id of the character doing the hunting if ($droptype == 1){ $rarity = mysqli_real_escape_string($con, $_POST['rare']); $req = mysqli_real_escape_string($con, $_POST['requirement']);