Originally Posted by Keleth
Well, of course on a refresh that second page will fail.... you're searching for a number of POST variables that don't exist, and thus storing nothing into a bunch of session variables you had previously put values into, overwriting them with blank (I forget if its NULL or an empty array).
Think about it... the first time you're there, that code stores POST values that exist into a session. When you refresh, and the POST values no longer exist, you're STILL trying to store values into the SESSION, which is the same as if you had tried to echo the POST variables themselves.
Yes, I do understand this. That's the question I was trying to get across in my original post, although it may have been a bit confusing. I thought SESSIONS would solve the problem. What do I have to do to keep the variables echoed to the page even after refreshing? I figured they were overwriting as blank, but I have no clue how to prevent that from happening on refresh.