prepare("INSERT INTO gwaccounts (userid, accemail) VALUES (?, ?)"); $addacc->bind_param("is", $_SESSION['userid'], $_POST['accemail']); $addacc->execute(); $addacc->close(); echo 'New account added, returning to editor.'; header ("Refresh:1; url=addaccounts.php"); exit(); } echo '
'; echo ''; echo ''; echo '
Add a new Guild Wars account e-mail
'; echo ''; echo ''; // grab account name from database and loop it in here as a read only bit echo '
Return to your user page'; include_once ('footer.php'); ?>
Current Guild Wars accounts
Account name