Gonna try to explain my problem. In my db model i got a many-to-many relation. So i have 3 tbl's where one joins the other 2.
Now the flow of the front-end:
page1 a <form> wich collect the data for tbl1 --->>> and with hidden fields the data goes to Page2
page2 a <form> wich collect the data for tbl2 --->>> and with hidden fields the data(from this page and page1) goes to a preview page
preview page --->shows all the data and the user can go back or submit the data.
Now what is was wondering:
To join the data in tbl3 i need the tbl1.id before i submit all the data, right???How do i accomplish this??