Hi,
I'm using the "add one" code from your faq herehttp://chronoengine.com/faqs/58-cfv4/cfv4-elements-and-html/2700-how-can-i-have-a-button-to-add-more-form-inputs.html
Each new input is going nicely into the array - I'm getting this in the debug
My problem is that I'd like to have each array value populate a new record in each column of the db (ie 'School_Attending' and 'Student_Last_Name').
As of now I get one record with all info for each column. For example in the new row under "School_Attending" I get
Not sure where to go from here - thanx a ton for your help!!!
Mark
I'm using the "add one" code from your faq herehttp://chronoengine.com/faqs/58-cfv4/cfv4-elements-and-html/2700-how-can-i-have-a-button-to-add-more-form-inputs.html
Each new input is going nicely into the array - I'm getting this in the debug
[Student_Last_Name] => Array
(
[1] => aaaaaa
[2] => cccccc
[3] =>
[4] =>
[5] =>
)
[School_Attending] => Array
(
[1] => bbbbbb
[2] => dddddd
[3] =>
[4] =>
[5] =>
)
My problem is that I'd like to have each array value populate a new record in each column of the db (ie 'School_Attending' and 'Student_Last_Name').
As of now I get one record with all info for each column. For example in the new row under "School_Attending" I get
{"1":"aaaaaa","2":"cccccc","3":"","4":"","5":""}
Not sure where to go from here - thanx a ton for your help!!!
Mark