View Single Post
Old 06-26-2008, 11:24 PM   #2 (permalink)
delayedinsanity
The Gregarious
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Cana'derr
Posts: 653
Thanks: 24
delayedinsanity is on a distinguished road
Default

Assign them to an array, and loop through the array when you add the data to the table.

HTML Code:
<input type="text" name="row_data[]" value="" />
When you use [] in the input fields name value, it adds all data to an array of the same name. Then you could use a foreach or for loop to spin through them and add them to the database however you like.
-m
delayedinsanity is offline  
Reply With Quote
The Following 2 Users Say Thank You to delayedinsanity For This Useful Post:
codefreek (06-26-2008), sarmenhb (06-27-2008)