im new to php but i need help on how to save array values to a database
i have been working with .net framework and i can implement this idea with ease in c#,vb.
i have a form and on the form i have a number of controls, and im storing data from the from onto the database,
say i have employee details(dependentname, depage) and a button called "addanother dependent". on clicking add another dependent i would like to add dependentname and depage to the array and maybe four more dependants and on save i would like to save all the five dependants to the database
i cant use the $Post array beacause it hold only one dependent at a time, does anyone know how to do this.
Regrads
i have been working with .net framework and i can implement this idea with ease in c#,vb.
i have a form and on the form i have a number of controls, and im storing data from the from onto the database,
say i have employee details(dependentname, depage) and a button called "addanother dependent". on clicking add another dependent i would like to add dependentname and depage to the array and maybe four more dependants and on save i would like to save all the five dependants to the database
i cant use the $Post array beacause it hold only one dependent at a time, does anyone know how to do this.
Regrads