From 8fcf0f0b7db9500c5a510478bdb1876bd0d0c74c Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sun, 21 May 2017 01:27:46 -1000 Subject: [PATCH] attempting change from GET to POST --- gw-record.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gw-record.php b/gw-record.php index e3b2173..e230e46 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 . ']'); } @@ -32,7 +32,7 @@ if ($whatdropped == "1"){ } else if ($whatdropped == "3"){ echo 'run rune code'; } else { - echo '
'; echo ''; echo ''; echo '';