Jump to content


Photo

*SOLVED* wtf?!?!?


  • Please log in to reply
1 reply to this topic

#1 richie_ropey

richie_ropey
  • Members
  • Pip
  • Newbie
  • 5 posts

Posted 05 April 2006 - 08:33 PM

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 22

untitled-1.php has this at line 22

echo $_SESSION['user'];


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 monitor

EDIT: doh! i forgot session_start(), im such an idiot somtimes!

#2 TheUkSniper

TheUkSniper
  • Members
  • PipPip
  • Member
  • 23 posts

Posted 05 April 2006 - 09:04 PM

:) easy mistake!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users