How to add text fields to form dynamicly and send to database

Hi.

I need to fo a form and the content be sent to a database but i’m stuck…
I knwo hot to do forms and also how to send data to mysql using php.

But now i need something a bit more complex and i’m stuck.

I need to make a form lets say with “parent name, age, child name, child age”
Some people has 1 child some people has 2 3 4…and i need to have it separated and not just write like “joe, bob, jack” in the same line.
How can i do this?

And how should the database be structured? i can’t put “id, parent, age, c_name, c_age” because some ppl will need to have more than 1 child in the database.

Don’t know what to do :frowning: