So my problem is:...
First on the page I have 2 text fields, for example, one with a "Batch Nr.", and another with "Person Nr".
I also want to have a hidden form with a table that will appear only after I've clicked on the subbmit button (CREATE) in my case.
And here is the catch. My table has only 1 row created, that's the title row, BUT the next rows (the number of) are needed to be created by the given value in the "Person Nr." text box. In other words, if I have 5 persons imputed, than the table will need to have extra 5 rows.
I have drawn a sketch in paint (

Then after creatind the rows, I need that the first column to be populated first, with "Batch number", then with a 3 digit nr, from 001 to "Person Nr.", for example 165001.
THANK YOU GUYS IN ADVANCE, I kind of known the principle of how to do this, but I need some code, because PHP programing is not my strongest point.
Thank you again.
