How to make a form with the number of variable fields and insert this data in the database? [closed]

3

Hello.

I want to create a CRUD that manages words and their synonyms. A word has multiple synonyms (1: N).

I would like a solution to dynamically include the inputs, according to the demand of each user. For example, a word to be registered has 3 synonyms, another word has 10 synonyms. There in the first example, 3 fields would be created, and in the second 10 fields.

How to do this form and how to insert this data into the database? I'm using PHP + MySQL.

    
asked by anonymous 02.10.2015 / 19:20

0 answers