mbavio: that was the issue, I was trying to just save the Profile model and it would keep creating new records inthe Info database instead of updating old ones. I'll try your solution to see if it works.
On Apr 26, 6:09 pm, mbavio <[EMAIL PROTECTED]> wrote: > Two options: > > 1) Why not just use $this->Profile->Info->id = $yourID; > > 2) Why not just save the Profile Model, the Associatives Models should > save with it if the data is present in the correct format. > > Cheers, > mbavio > > On Apr 25, 5:55 pm, Chez17 <[EMAIL PROTECTED]> wrote: > > > > > So I finally figured this out. Here is the solution: > > > Above this call in the if statement: > > > $this->Profile->Info->save($this->data) > > > you need to enter: > > > $this->Profile->Info->setId( $temp['Info']['id'] ); > > > Thanks for both your help and time.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
