prepare('SELECT password, email FROM accounts WHERE id = ?'); // In this case we can use the account ID to get the account info. $stmt->bind_param('i', $_SESSION['id']); $stmt->execute(); $stmt->bind_result($password, $email); $stmt->fetch(); $stmt->close(); ?>

Profile Page

Your account details are below:

Username:
Password:
Email: