From 8467ea6aff7513196db812e4833f4e0b314b9196 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sun, 21 May 2017 20:49:37 -1000 Subject: [PATCH] getting gold info trying to restrict text input to numbers only, need an html 5 compliant web browser supposedly --- gw-record.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gw-record.php b/gw-record.php index 32a4155..adec28d 100644 --- a/gw-record.php +++ b/gw-record.php @@ -3,9 +3,9 @@ include_once 'gw-connect.php'; $con = new mysqli(DATABASE_HOST, DATABASE_USER, DATABASE_PASS, DATABASE_NAME); #$toonid = mysqli_real_escape_string($con, $_POST['playerid']); //enable this after character selection is working -$toonid = 'Chrissi Chan'; +$toonid = 'Chrissi Chan'; //delete this line after character selection is finished/working #$location = mysqli_real_escape_string($con, $_POST['locationid']); //enable this after location selection is working -$location = 4; +$location = 4; //delete this line after location selection is finished/working $whatdropped = mysqli_real_escape_string($con, $_POST['gwdrop']); if ($con->connect_errno > 0){ die ('Unable to connect to database [' . $db->connect_errno . ']'); @@ -72,7 +72,7 @@ if ($whatdropped == "1"){ echo ''; } echo ''; - echo ' and |code for gold dropped here| gold pieces.'; + echo ' and gold pieces.'; echo ''; echo '

'; } else if ($whatdropped == "2"){