Jump to content

*SOLVED* wtf?!?!?


richie_ropey

Recommended Posts

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

[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 monitor

EDIT: 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.