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