I am currently working on a MySQL database project. On my webpage, there are multiple rows of textboxes where each row corresponds to an entry in the database.
When a user enters data into a single row and clicks the save button, the values are automatically stored in the database. However, if the user enters two rows (two entries for the database) and presses the save button, both rows should be inserted into the database.
How can I achieve this? How do I read the values from the textboxes and determine how many rows the user has entered on the page?
If anyone can assist me with this using JSP for insertion along with JavaScript and Ajax, I would greatly appreciate it.