Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

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 .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 28th, 2007, 11:46 PM
Registered User
Join Date: Mar 2007
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to insert bulk of data through form in databas

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.


Reply With Quote
  #2 (permalink)  
Old April 11th, 2007, 07:36 AM
Authorized User
Join Date: Mar 2005
Location: , , India.
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to pritz Send a message via Yahoo to pritz

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

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bulk insertion from a data table to oracle databas Alexkure ASP.NET 1.0 and 1.1 Professional 0 November 12th, 2008 03:24 AM
About Insert Multiple Rows of GridView to Databas divekar.vishal ASP.NET 2.0 Professional 0 April 30th, 2008 12:28 AM
getting data from XML and insert it into a databas belete XML 3 November 20th, 2007 12:38 PM
bulk insert hymavathy_kr VB Databases Basics 1 May 17th, 2007 07:47 AM
Bulk insert deyakhatib SQL Server 2000 6 March 4th, 2004 04:09 AM

All times are GMT -4. The time now is 04:34 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.