Yes. Sessions is what you need. Basics are:
session_start();
on each page that is viewed. Then, on the login page declare the new session variables - you can have up to 20 before they start replacing each other - with
$_SESSION['var'] = $_POST['var'] ; //returned result of query or the info that the user posted in the form
and you have a variable registered that can be called on by other pages that include session_start() simply by using $_SESSION['var'].
Check out http://uk.php.net/quickref.php and go down to the session functions. It'll take you a couple of times to get the hang of them. Also, do a search on this site for help. That's what I did about six months ago and haven't looked back. Good luck.