Hi there, Thanks for your attention
i have $SESSION['user'] = $username; in login page and $username = $SESSION['user']; on other page which should get username. but it returns this string: 'Array'
any helps? please? thanks.
Where do you get array? Have you tried echoing out $_SESSION['user'] rather than converting it to $username?
Also, have you got session_start() at the top of both pages?