diff --git a/gw-insert.php b/gw-insert.php
index 8e2bcb9..8e8352a 100644
--- a/gw-insert.php
+++ b/gw-insert.php
@@ -2,10 +2,9 @@
include_once 'gw-connect.php';
$con = new mysqli(DATABASE_HOST, DATABASE_USER, DATABASE_PASS, DATABASE_NAME);
//post data section
-$droptype = mysqli_real_escape_string($con, $_POST['droptype']); //this will stay
-
-$rare = $_POST['gwdrop']; //this will all go away soon
-echo 'If this worked then there will be a number here: ' . $rare . '
';
+$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
echo 'The droptype variable is set to ' . $droptype . '
';
+echo 'The locid variable is set to ' . $locid . '
';
echo 'Return to data recording page';
?>
\ No newline at end of file
diff --git a/gw-record.php b/gw-record.php
index a93f251..bf730f3 100644
--- a/gw-record.php
+++ b/gw-record.php
@@ -23,6 +23,7 @@ while ($row = $result->fetch_array()){
}
echo ' a ';
if ($whatdropped == "1"){
+ echo '