From 31e8ff7ee2df026848f23fc3fde21cf9e6337255 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sat, 20 May 2017 13:22:09 -1000 Subject: [PATCH] getting ready for location data --- gw-record.php | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/gw-record.php b/gw-record.php index 1732b58..2c780e2 100644 --- a/gw-record.php +++ b/gw-record.php @@ -4,11 +4,16 @@ 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'; +#$location = mysqli_real_escape_string($con, $_POST['locationid']); //enable this after location selection is working +$location = 'Issnur Isles'; if ($con->connect_errno > 0){ die ('Unable to connect to database [' . $db->connect_errno . ']'); } -echo 'At |insert location SQL code here| a/an '; +echo 'At '; +echo $location //code for selecting location from DB via locationid +echo ' a/an '; + //code for weapon attribute requirment $sqlweapreq = "SELECT * FROM `listreq` ORDER BY `req` ASC"; if (!$result = $con->query($sqlweapreq)){ @@ -17,7 +22,7 @@ if (!$result = $con->query($sqlweapreq)){ echo ''; @@ -30,7 +35,7 @@ echo ''; @@ -43,8 +48,9 @@ echo ''; -echo ''; +echo ' |weapon/mat/rune code here|'; ?> \ No newline at end of file