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 '';