News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DeveloperTutorials.com:
Inserting An Array Into A Database
February 02, 2007 @ 10:28:31

The DeveloperTutorials website has a quick new article today talking about the insertion of an entire array into a database:

A few days ago, a user came into #phphelp on UnderNet wanting to know how to insert an array into a database. A simple enough concept, but how exactly does one look up information on the subject? The goal is to take a form with multiple input sets (like a list of people, their phone numbers, etc.) and input multiple rows into a database.

They create the database and a simple form to get the array input from before sharing the code to grab the information and loop through them all and drop them into the database table.

1 comment voice your opinion now!
insert array database tutorial simple loop insert array database tutorial simple loop


blog comments powered by Disqus

Similar Posts

Lorna Mitchell: Using Phing with Travis CI

DevShed: Handling Cookies and File Data with the Factory Pattern in PHP 5

PHPBuilder.com: Create a Unit Conversion Application w/the Zend_Measure Component

Michael Nitschinger's Blog: Writing a simple lexer in PHP

Gary Hokin: An Introduction to Zend Framework 2 for the Zend Framework 1 Developer - Part 1


Community Events





Don't see your event here?
Let us know!


threedevsandamaybe series community project podcast configure library api release interview framework code developer list application introduction language wordpress laravel bugfix

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework