From ad7f1469841870ae5f72b7dbfb62c4fecae91827 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sat, 20 May 2017 12:47:11 -1000 Subject: [PATCH] moved sections around --- gw-record.php | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/gw-record.php b/gw-record.php index 7c93279..ba35fb1 100644 --- a/gw-record.php +++ b/gw-record.php @@ -11,25 +11,17 @@ $sqlweapattr = "SELECT * FROM `listattribute` ORDER BY `weapattrid` ASC"; if (!$result = $con->query($sqlweapattr)){ die ('There was an error running the query [' . $con->error . ']'); } -echo ''; -$sqlweaprare = "SELECT * FROM `listrarity` ORDER BY `rareid` ASC"; +echo ' At a/an '; +$sqlweapreq = "SELECT * FROM `listreq` ORDER BY `req` ASC"; if (!$result = $con->query($sqlweaprare)){ die ('There was an error running the query [' . $con->error . ']'); } -echo ''; while ($row = $result->fetch_array()){ - $rareid = $row['rareid']; - $rarity = $row['rarity']; - echo ''; + $reqid = $row['req']; + echo ''; } -echo '
'; - +echo ''; $sqlweaprare = "SELECT * FROM `listrarity` ORDER BY `rareid` ASC"; if (!$result = $con->query($sqlweaprare)){ die ('There was an error running the query [' . $con->error . ']'); @@ -40,5 +32,13 @@ while ($row = $result->fetch_array()){ $rarity = $row['rarity']; echo ''; } -echo '
'; +echo ''; +echo ''; +echo ''; ?> \ No newline at end of file