Remember if a form has been filled in
I've never written cookies and am presuming that this is the way to solve my problem.
I have a page with a lot of information on it. What I am wanting to do is cut down on the amout of information first given and have a form to get the rest of the information. Once the form is completed and the submit button pressed the same page is loaded but without the form and displaying the extra information. I know how to do this via php so that is no problem.
The problem is that if someone has previously filled out the form to view the extra information and then come back to the same at a later date. Obviously I do not want to be requesting that they give their details again. So how can I set it up so that it checks to see if they have filled out the form, if not then the form shows, if they have then the extra information shows?