I just wanted to add, I'm saving multiple records at a time.  So $this-
>data might have an index going up to 5 or so with models for 3 or
more different things.

I did manage to get a hasMany to work, but not with multiple records.

        $save['Firstname']['firstname']='Margarie';
        $save['Nickname'][0]['nickname'] = 'Margy';
        $this->Firstname->saveAll($save);

That worked, but what if I want to save 3 different firstname/nickname
pairs at a time?


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

Reply via email to