I load data from a mysql table into a HTML table. Then the user can add or remove one or more rows. Finally I have to save the changes into the database. All this have to be done using PHP and javascript.
I know this does not seem very hard. In fact, I managed to load data from database into the HTML table and add or remove rows from it, using javascript function but I'm having the hardest time trying to save changes from the table. How can I delete an specific row from the table, considering that these rows don't have id's since they are dynamically added? How can I access data from an specific row?
I hope you guys can help me out. This is driving me nuts! Thank you and sorry for my English.