You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .

Hello Everyone
If I have 3 web pages,each have textbox,textarea etc.with next and back button.Then I filled up 1st page and click next then filled up 2nd. page then click next.Now filled up 3rd page.After filling 3rd.page we click submit.
Then I want to insert all the values of three pages into database with the condition that each field has more data like in textarea. How can I do.
Please tell me.

Hello,
store the values in array and pass this array from one page to another via SESSION or as hidden fields on third page read this string and read your values from array before inserting the data in db on step three.I had done similar i used session to store all values care has to be taken when you have finished inserting values simplye unset the session array else it will save those previous values and for nest insert it will be mess
hope this could help you to outline your logic
regards
Priti