Guild Wars stat tracking The idea behind this is to track multiple characters individual stats as well as account stats.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

11 lines
481 B

  1. <?php
  2. include_once ('verifications.php');
  3. echo 'the useremail variable is: ' . $_POST['useremail'] . '<br />';
  4. echo 'the userid variable is: ' . $_SESSION['userid'] . '<br />';
  5. $updmail = $con->prepare("UPDATE userinfo SET usermail = ? WHERE userid = ?");
  6. $updmail->bind_param("si", $_POST['useremail'], $_SESSION['userid']);
  7. $updmail->execute();
  8. $_SESSION['usermail'] = $_POST['useremail'];
  9. echo 'Email address updated, redirecting.';
  10. header ("Refresh:2; url=preferences.php");
  11. ?>