Create a table for form1/page1, form2/page2 etc, user_id is primary key in each table
form1
--------
user_id, formvalue1, formvalue2, formvalue3 etc
form2
------
user_id, formvalue1, formvalue2 etc
The next time the user logs in, or navigates to an earlier page in the process, you just select the values for that form from the database and prepopulate the form. To reduce db access if a user keeps jumping back and forth between tables, you could stick the same data in $SESSION['form1'], $SESSION['form2'] etc as well. Then you start by checking if !isset($SESSION['form1']) when form1 is to be displayed. If it isn't set, you check the database. If there is data for that user and form, you put the data into $SESSION. And when a form is posted, you insert/update the database and also store the data in $_SESSION.