How to insert multiple data in the database for only one submit. OK, I'll make it clearer.
I have a table siblings with fields PrimaryKey, Name and Age. On the ADD page, I have a question there "Do you have siblings?" with a YES and NO checkboxes. Once he check YES, an input form will appear to enter # of siblings. Then after he enter the # of siblings, for example 3, 6 forms will be visible - 3 for the Name field and 3 for the Age field.
Now my question is, can I insert those 3 Names with corresponding Age on the siblings table? As far as I know, you can only insert one data(row) at a time.
NOTE: this is only part of the member registration page. There are many fields he has to fill up.
Please help me on this problem! Ideas, tutorials, samples given are greatly appreciated.
Thanks!