Account settings

O hi ".$_SESSION["username"].".

"; // Reset password echo "Reset Password"; // Logout echo "Logout"; // Join code if ($_SESSION["id"] == 1) { echo "

Invite Code

"; $token_request = mysqli_query($conn, "SELECT * FROM tokens WHERE used = 0"); while ($token = mysqli_fetch_array($token_request)) { echo "

".$token['code']."

"; } } } else { echo "

You must be logged in to change your account settings!

"; echo "Login!"; } ?>