Its beena while since Ive touched PHP. I remember there was a Header function that you could use to keep all the user entered values in a form even those they pressed the back button. I remember it to go right after a session_start() function. Anybody have any idea what this function is??? If there isnt such a function... are there any ways I can retain form values after a user presses the "Back" browser button?
Thanks
Putting your form values into the $_SESSION array will retain them on every page you have session_start() until you destroy the session.
How would I do that?
<?php session_start(); $_SESSION['username'] = 'test_user'; echo "hello there ".$_SESSION['username'].", how are you today?";
that should print out:
hello there test_user, how are you today?