I have a page that loads some form data as a session variable, the first time it loads, but the page will be reloaded several times without being supplied by the form. This leads to an undefined variable error.
I am pretty sure what I want to do is use isset() with my $_POST variable, and an if statement along the lines of,
if there is some form data there, then define a new session variable, else, ignore the definition statement, and continue to use the existing session variable data.
All of my attempts to date have failed.
Any pointers?