Guild Wars stat tracking The idea behind this is to track multiple characters individual stats as well as account stats.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

13 lignes
699 B

  1. <?php
  2. # investigate if we can put multiple input boxes and loop through them to insert into the database (see includes/titleranks-add.php)
  3. # https://stackoverflow.com/questions/34469482/how-to-insert-multiple-inputs-into-the-database-using-the-power-of-php
  4. $stmtstins = $con->prepare("INSERT INTO gwsubtitles (titlenameid, stname, stpoints, strank) VALUES (?, ?, ?, ?)");
  5. $stmtstins->bind_param("isii", $_POST['titlenameid'], $_POST['titlerankname'], $_POST['titlepoints'], $_POST['titlerank']);
  6. $stmtstins->execute();
  7. $stmtstins->close();
  8. $_SESSION['title'] = "repeat";
  9. $_SESSION['tid'] = $_POST['titlenameid'];
  10. echo 'Title rank added, redirecting!';
  11. header ("Refresh:1; url=titlemanager.php");
  12. ?>