I currently have a form using the ActiveRecord model and I would like to add a bit to it to update or insert one or several rows in another table. I plan on making a dynamic UI so that if you enter one another area will appear so that you can enter more. I’m more worried about the controller part where I need to save that list of new entries. Are there any suggestions for the best way to do this or is there something already built into yii for this?
I’m not sure if that makes sense. I can try to explain a bit more if I need to.
Thats kind of the idea. Except I want to submit data for multiple records in my second table. That example describes a one to one relationship and my situation is a one to many relationship. Any given record in table A will point to several records in table B.