I have two tables, one is users, and second is family_list,
users > id, name,surname,dateofbirth,address,contact (id is autoincrement and primary key)
family_list > id, name, dateofbirth, user_id
I made relation, id primary key with user_id foreign key.
Now, I need php form to store data to multiple tables, where I can add user to table users and for family_list table I need to can add more than one record for one user. So, one user can have more childern in family _list table. I am using bootstrap. How to do that, PHP and Jquery?
If there is some tutorial for beginner.