From b6c9768a707ec7751abb46fc366ed4b899176908 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sun, 21 May 2017 01:10:07 -1000 Subject: [PATCH] change from a POST to a GET --- gw-record.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gw-record.php b/gw-record.php index 92a7fe8..4aa8d11 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, $_POST['gwdrop']); +$whatdropped = mysqli_real_escape_string($con, $_GET['gwdrop']); if ($con->connect_errno > 0){ die ('Unable to connect to database [' . $db->connect_errno . ']'); } @@ -26,7 +26,7 @@ echo ' a '; #experimental stuff echo '
'; echo '
';