I need a dynamic form that operates as follows:
The page should generate Y textboxes according to a Y number that is in the database. My reasoning is as follows:
a. Do the select in the bank to see the number
B. I do a while or a for with this number to display the text
W. I make a string treatment to define the name of the texts (example: text1, text2, text3, etc.)
d. I make the reverse way to save the data in the database.
That's a lot of work. Is there any simpler way?
To contextualize: it is a game of "soccer ball". The administrator registers the games in one day (it can vary the amount of games), and the other day the players users must fill the guesses (in the textboxes).
What can I do to make it simpler?