richie_ropey Posted April 5, 2006 Share Posted April 5, 2006 hey guys and gals, im getting this error:Notice: Undefined variable: _SESSION in c:\program files\easyphp1-8\www\project\setup\users\untitled-1.php on line 22untitled-1.php has this at line 22[code]echo $_SESSION['user'];[/code]i have used the $_SESSION vaiable literaly hundereds of times on my localhost and in other pages in this project, so i really have no clue as to whats going on, please help because im not very far away from making a fist shaped hole in my laptop monitorEDIT: doh! i forgot session_start(), im such an idiot somtimes! Quote Link to comment Share on other sites More sharing options...
TheUkSniper Posted April 5, 2006 Share Posted April 5, 2006 :) easy mistake! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.