Yes, this takes your data array and stores parts of it in different models, but 
it isn't storing the same data multiple times. That's an admin nightmare, so as 
I mentioned before, the best solution is to examine your database design.

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 14 Mar 2011, at 23:46, duderion wrote:

> i found a cool solution :D
> 
> http://nuts-and-bolts-of-cakephp.com/2008/08/01/practical-use-of-saveall-part-1-working-with-multiple-models/
> 
> greets
> duderion
> 
> On Mar 15, 12:36 am, duderion <adrian.g...@googlemail.com> wrote:
>> hi guys,
>> 
>> i have a users/add form, and i want to store the users address data to
>> several models (adresses,accounts, etc)
>> 
>> so i have more than one model to validate.
>> 
>> whats the best practice ?
>> 
>> duderion
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
> 
> 
> 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

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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

Reply via email to