Profile
View your profile details below.
Username
=htmlspecialchars($_SESSION['account_name'])?>
Email
=htmlspecialchars($email)?>
Registered
=htmlspecialchars($registered)?>
prepare('SELECT email, registered FROM accounts WHERE id = ?'); // In this case, we can use the account ID to get the account info $stmt->bind_param('i', $_SESSION['account_id']); $stmt->execute(); $stmt->bind_result($email, $registered); $stmt->fetch(); $stmt->close(); ?>
View your profile details below.