How to save data of two models different in thye same time?
Example: I have a model called "Episode" and another "Link" and
$hasAndBelongsToMany = array('Link');

I want save data for two in the same time. I'm making:

                echo $form->input('Episode.title');
                echo $form->input('Link.url);

But when i go save:

$this->Episode->save($this->data), doesn't work.
What i can do? (I tried use HabtamableBehavior, but i dont was
understand it very well how works)

Srry for writing, i'm brazilian.
--~--~---------~--~----~------------~-------~--~----~
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