The code I used is all located at http://www.formget.com/login-form-in-php/ .... I'm able to validate the user name and password form my db and be directed to my home page.
I would like to carry the username not the password to the following pages. I have
<?php
session_start(); // Store Session Data
$_SESSION['login_user'] = $username; // Initializing Session with value of PHP Variable
echo $_SESSION['login_user'];
?>
at the top of the page and
<div id="profile">
<b id="welcome">Welcome : <i><?php echo $login_user; ?></i></b>
<b id="logout"><a href="logout.php">Log Out</a></b>
</div>
in the body of the HTML
I'm trying to have my session continue from my login to home page and follow on pages. This is my login page: http://www.sagginevo.com/EZFurnish/index.php .... I would like the username carry onto the following pages. The Email: Chris Password: 123 Please help. The
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.