Guild Wars stat tracking The idea behind this is to track multiple characters individual stats as well as account stats.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 

13 строки
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. ?>