Hi,

I want to create a new model instance from a controller (linked to an
other model).
The data in the model can be populated by the method itself (user id)
etc.
Furthermore, the id of the just created model should be returned to
use as a foreign key in the current model.
How do I do this?

Sample code:
http://bin.cakephp.org/view/997858437

Please help this newbie :p

GrandiJoos

PS sorry if the information is sparse
--~--~---------~--~----~------------~-------~--~----~
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