diff --git a/includes/titleranks-add.php b/includes/titleranks-add.php index ec4c1a9..a9655a1 100644 --- a/includes/titleranks-add.php +++ b/includes/titleranks-add.php @@ -15,9 +15,9 @@ if (isset($_SESSION['tid'])) { } if (isset($_SESSION['tr'])) { - $_POST['titlerank'] = $_SESSION['tr'] + 1; + $tr = $_SESSION['tr'] + 1; } else { - $_POST['titlerank'] = 0; + $tr = 0; } $stmtname = $con->prepare("SELECT titlename, titlemaxrank FROM gwtitles WHERE titlenameid = ?"); @@ -26,13 +26,13 @@ $stmtname->execute(); $stmtname->store_result(); $stmtname->bind_result($gwtn, $gwtmr); while ($stmtname->fetch()) { - echo 'Adding rank to title ' . $gwtn . '
It\'s current maximum rank is ' . $gwtmr . '
'; + echo 'Adding rank to title ' . $gwtn . '
The maximum rank achievable in game is ' . $gwtmr . '
'; } $stmtname->free_result(); $stmtname->close(); echo '
'; -echo ''; +echo ''; echo '
Title Rank NameTitle PointsRank Level

'; echo 'Here are the currently associated title ranks, starting with rank 1:
';