Multiple Page Forms


i have to create a form of two pages,i have created two view,two model file and one db table for this,in the first page after entering the data and clicking on next page button it goes to next page(i.e data is to continued)

after submission of data in second page,the data of first page is stored in separate id ( 1)of db table and the data of second page is stored in someother id( 2) of db table.

But i want it to be stored in the same id of db table because both the page datas are of same persons.

please can anyone help me as i am new to yii.I have read different articles but didnt understand it properly.

Thank You,

Please can anyone help me.please can anyone take their valueble time and help me.