I have no idea on how to save model A that has a one-to-many
relationship with module B.
Example:
-------
table A
id
name
------
table B
id
a_id
name
------
How to do this if I want to save A with many B records in model A
function.

I really google a lot of resource, but I didn't find the answer there.
http://www.packtpub.com/article/working-with-simple-associations-using-cakephp
http://blog.matsimitsu.nl/code/166/saveall-with-cakephp-part2

I will appreciate for your answer.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to