a question: when a user is logged in, how do i print their username on login success page.
This is what I have on my Check Login Page:
$username = $_POST['user']; $password = $_POST['pass']; $_SESSION['$username'];
This is what i have on my Login Success Page:
<?php echo $_SESSION['$username']; ?>