Attention all PHP coders...
I haveith a question...
I have a page (written in HTML/PHP) that contains a simple form that asks various questions. Once the questions are answered, the user presses a submit button that POSTS all the information to another PHP script that checks for errors. If any errors are found, it redirects back to the original page and tells the user what they did wrong....
BUT ALL THE DARN FORM FIELDS ARE BLANK.
Are there any headers or cache controls I can include in my code so that when a user refreshes, is redirected, or hits the "back" button that all of the data they entered in my form (input's, textarea's, etc) will remain there?
Thanks.