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! Link to comment https://forums.phpfreaks.com/topic/6681-solved-wtf/ Share on other sites More sharing options...
TheUkSniper Posted April 5, 2006 Share Posted April 5, 2006 :) easy mistake! Link to comment https://forums.phpfreaks.com/topic/6681-solved-wtf/#findComment-24282 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.