Sfoglia il codice sorgente

prepping for notifying going past the maximum ranbk

pull/16/head
mauirixxx 7 anni fa
parent
commit
de5c42cd8a
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +3
    -3
      includes/titleranks-add.php

+ 3
- 3
includes/titleranks-add.php Vedi File

@@ -14,13 +14,13 @@ if (isset($_SESSION['tid'])) {
$_POST['tid'] = $_SESSION['tid'];
}

$stmtname = $con->prepare("SELECT titlename FROM gwtitles WHERE titlenameid = ?");
$stmtname = $con->prepare("SELECT titlename, titlemaxrank FROM gwtitles WHERE titlenameid = ?");
$stmtname->bind_param("i", $_POST['tid']);
$stmtname->execute();
$stmtname->store_result();
$stmtname->bind_result($gwtn);
$stmtname->bind_result($gwtn, $gwtmr);
while ($stmtname->fetch()) {
echo 'Adding rank to title <b>' . $gwtn . '</b><br /><br />';
echo 'Adding rank to title <b>' . $gwtn . '</b><br />It\'s current maximum rank is ' . $gwtmr . '<br />';
}
$stmtname->free_result();
$stmtname->close();


Caricamento…
Annulla
Salva