From 7de20e69b9e04e4e986e703420df3c952655278c Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sun, 21 May 2017 02:05:44 -1000 Subject: [PATCH] trying to change from GET to POST again --- gw-record.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gw-record.php b/gw-record.php index e735331..0ca806a 100644 --- a/gw-record.php +++ b/gw-record.php @@ -6,7 +6,7 @@ $con = new mysqli(DATABASE_HOST, DATABASE_USER, DATABASE_PASS, DATABASE_NAME); $toonid = 'Chrissi Chan'; #$location = mysqli_real_escape_string($con, $_POST['locationid']); //enable this after location selection is working $location = 4; -$whatdropped = mysqli_real_escape_string($con, $_GET['gwdrop']); +$whatdropped = mysqli_real_escape_string($con, $_POST['gwdrop']); if ($con->connect_errno > 0){ die ('Unable to connect to database [' . $db->connect_errno . ']'); } @@ -86,7 +86,7 @@ if ($whatdropped == "1"){ } else if ($whatdropped == "3"){ echo 'run rune code'; } else { - echo '
'; echo ''; echo ''; echo '';