EDIT: Picture may take a while to load...
I have a table that looks like the above, if the user enters data on two or more lines of the table, how would i get PHP to add the data to the database without giving all the feilds different names? I'm guessing it's going to have a while command in there, checking to see if the number of rows is bigger than number of rows of data entered insert it in, but i don't know where to start coding it. I know how to enter single variables into the database.
I'm also aiming to have any records already in the database display in the table then the line under have input fields so the customer can input new information still.
My other problem is that this site is going to be access by 3 or more people adding information, i figured i could have the results in an iframe that refreshes every 5 seconds? Or is there a better way of doing this?
Thanks in advance,
Edited by KamakaZ, 08 September 2009 - 12:36 AM.