Undefined Index: Error Help?

Ok I am working on a forum website and upon entering if you try to post a New Topic and are not signed in it says “Hey sorry, you gotta sign in first” (“sign in” is a link to my signin.php page) Welp, along with the message I get a Notice: Undefined index: error for some reason on line 7. Heres da code!

Line 7 - if($_SESSION[‘signed_in’] == false)

Any clue as to why i get the error? Otherwise its all working correctly.

I would have to see the entire code and exact error, but obviously it has to do with the user session, post the rest of the code and the exact error and I will give you a fix for it

Sponsor our Newsletter | Privacy Policy | Terms of Service