Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 28th, 2007, 11:46 PM
Registered User
 
Join Date: Mar 2007
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.


Thanks

 
Old April 11th, 2007, 07:36 AM
Authorized User
 
Join Date: Mar 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to pritz Send a message via Yahoo to pritz
Default

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






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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.