faqts : Computers : Programming : Languages : PHP : Database Backed Sites : MySQL

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 50 people (10%) answered Yes
Recently 0 of 10 people (0%) answered Yes


How can I insert multiple rows into a mysql table (in one go - from a form)?

Jan 9th, 2002 07:12
Peter Westergaard, Vince Hide,

I think in this case, the solution is to simply run a loop for the 
multiple rows which must be created, executing an INSERT statement for 
each item.