
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,
~Kam
This post has been edited by KamakaZ: 08 September 2009 - 12:36 AM

Help
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Back to top









