Best way to save data from a dynamic table

I have a table which has a 4 columns but can have a dynamic number of rows as I have a button which adds a new row. So the user can add as many rows with data as they wish.

Question is how do I get the data stored into a database? Would this be stored in an array that I can iterate through to store to Xano?

Thanks