Guild Wars stat tracking The idea behind this is to track multiple characters individual stats as well as account stats.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
432 B

  1. <?php
  2. if (isset($_SESSION['userid'])) {
  3. // $als = Account List Select
  4. $als = $con->prepare("SELECT accid, accemail FROM gwaccounts WHERE userid = ?");
  5. $als->bind_param("i", $_SESSION['userid']);
  6. $als->execute();
  7. $alsres = $als->get_result();
  8. while ($alsrow = $alsres->fetch_assoc()) {
  9. echo '<option value="' . $alsrow['accid'] . '">' . $alsrow['accemail'] . '</option>';
  10. }
  11. $als->close();
  12. }
  13. ?>