i need help with something..
.
i need to save a variable during login
variable is users Username
i have login.php which leads to checklogin.php to check for username/password which finnaly leads to login_success.php...
every of those include config.php
i had in mind to save that variable in config.php....
i tried that by setting
CODE
$action='a';
for the first line in checklogin.php and including config.php after that to save that username with CODE
if($action=='a')
$uu=$_POST['username'];
$uu=$_POST['username'];
i could echo username on the login_success.php page but not on matches.php
i need to echo that username in matches.php...how do i do it?
(i think it needs to be $_SESSION[] variable or something like that,but i heard that that doesnt work,please respond as soon as posssible since i never continue my work without doing something in my mind...

