Question
How to save data from a html table?
Hi,
I have a table with 10 cols and 5 rows.
I want to save the table to a database with 2 fields (In the 1st field I will save the header of the table,in the 2nd field I will save the items of the first row and in the 3rd field I will save the values which are in the table.)
So I need to loop through the columns and for each column loop through all the rows.
Anyone has can give me the general structure of the code (loop,code for save button). I don't have an idea how to do it.
Urgent help required thx
I have a table with 10 cols and 5 rows.
I want to save the table to a database with 2 fields (In the 1st field I will save the header of the table,in the 2nd field I will save the items of the first row and in the 3rd field I will save the values which are in the table.)
So I need to loop through the columns and for each column loop through all the rows.
Anyone has can give me the general structure of the code (loop,code for save button). I don't have an idea how to do it.
Urgent help required thx