From be1d25da5bc225ec08640f07bc6173cf507adf8a Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Thu, 18 May 2017 11:39:36 -1000 Subject: [PATCH] using POST data to select toons --- gw-pull.php | 8 +++++--- gw-toon.php | 13 +++++++++++-- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/gw-pull.php b/gw-pull.php index bc87642..38e7b95 100644 --- a/gw-pull.php +++ b/gw-pull.php @@ -1,7 +1,8 @@ +Treasure Data connect_errno > 0){ die ('Unable to connect to database [' . $db->connect_errno . ']'); } @@ -28,5 +29,6 @@ if (mysqli_num_rows($result) > 0) { echo 'no data to display for that character'; } ?> - -Treasure Dates + +
+Return to character selection page \ No newline at end of file diff --git a/gw-toon.php b/gw-toon.php index 1ec971d..9a9344e 100644 --- a/gw-toon.php +++ b/gw-toon.php @@ -8,7 +8,16 @@ $sql = "SELECT playerid, charname FROM `playername` WHERE `userid` = '1' ORDER B if (!$result = $con->query($sql)){ die ('There was an error running the query [' . $con->error . ']'); } -while ($row = $result->fetch_array()){ +/* while ($row = $result->fetch_array()){ echo 'Please select a character to continue: ' . $row['charname'] . '
'; +} */ +//will be changing weblink with GET data to SELECT box with POST data +echo '
'; +echo '
'; //gw-pull doesn't accept post data yet. or does it? +?> \ No newline at end of file