保存html表值[关闭]

I am new to webpage design and I was wondering if I could get some piece of advice.

I have created a table using HTML that has 2 columns and "N" number of rows say 10. I want the first column to hold time values while the second to hold comments. For now I want both the time and comment values for the rows to be input by the user and saved into a database as soon as they are entered.

I thought about putting text boxes inside each cell of the table and trying to save the data that way but not all cells will be filled for a bigger table.

What would be the best way to save the table values into a database.

I think for you requirement you will need to use a Grid which will handle most of the things for you.

Have a look at jqGrid.