I am trying to add dynamic rows to an HTML table and then INSERT the data from the number of rows the user selected into mysql. Everything I try ends up in an endless loop a