Guild Wars stat tracking The idea behind this is to track multiple characters individual stats as well as account stats.
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 

14 satır
738 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. $_SESSION['tr'] = $_POST['titlerank'];
  11. echo 'Title rank added, redirecting!';
  12. header ("Refresh:1; url=titlemanager.php");
  13. ?>