Well, then it would behoove you to read up on sessions and to learn how to use them properly: http://www.php.net/session_start
Remember, if you need to recall a session variable or to set a session variable on a page, you must first start a session prior to any output. SO at that top of the page, you will have this line of code:
<?php
session_start(); // start session
?>
Then, if you want to set a session value to recall on other pages, just do something like this:
<?php
session_start(); // start session
$_SESSION['user'] = $_POST['username']; // save username in a session var
?>
then, on any page you want to output that value, or use it in a conditional statement, you can do something like this:
<?php
session_start(); // start session
echo $_SESSION['user'] . ', you are logged in...'; // output the session var
?>
These are just some basic ideas, but you will learn much by reading the section in the manual that I have linked to. Session is a super global array that WILL do exactly what you want, but you have to learn how to use it. (It is relatively easy to pick up proper usage, too... )