KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to do something like this: if ($_SESSION['errors'] exists) { //Do stuff } I want to create a session on page1 and then go to page2 where it will check for errors, if there are errors it returns to page1 with the errors. But page1 will give errors if the variable hasn't been created yet on page 2. If I do $_SESSION['errors'] == "" on page1 it will reset the variable so that's no good.
Tags (comma-separated)
Save Edits
Cancel