php - How to save the form data temporary

I have designed a user profile form, a long form which is quite complicated.Before the user can submit and save it, the form needs to be validated.Here is the question:When the form is saved into the DB, there are multiple tables involved.Now I would like to introduce a function called "Save Form" which internally doesn't validate the form and just save whatever the user entered.How can I do this? There are potential issues, such as :\[code\]Q1> How to save temporary data?Q2> What should I do if the user saves the temporary data without submitting the form and then quit. This feature looks like the Draft feature provided by Gmail.\[/code\]Thank you
 
Back
Top