orbitz
06-14-2006, 11:48 PM
I was creating a user session when he/she logged in.
I am giving a simple example below:
$_SESSION['username'] = $_POST['username'];
why would I able to echo the username when I go to another by just using?
echo $username; // or echo $_SESSION['username'];
I am giving a simple example below:
$_SESSION['username'] = $_POST['username'];
why would I able to echo the username when I go to another by just using?
echo $username; // or echo $_SESSION['username'];
