I have a $ nregistry variable that defines the value of records to insert into the "forms" table.
If $ nregisters is equal to 4 for example, it should enter 4 rows as follows:
formularios
id|campo
6 | 1
7 | 2
8 | 3
9 | 4
The field "id" is autoindex, and the field "field" should start at 1 and go to the final value of $ nregistros, in this case, 4
How can I do this?