> $this->ModelA->ModelB->save (array ('ModelB' => $modelb2));
> $this->ModelA->ModelB->save (array ('ModelB' => $modelb3));
>  ..This code first saves the data of $modelb2 and then replaces it
> with the data of $modelb3. How do I save $modelb3 to a new 'ModelB'?
Add
$this->ModelA->ModelB->create();
between the two.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to