i presume your id field is auto incrementing. try clearing your id field ---> $this->data['Model']['id'] = null before issuing a save query to the model.
cheers, -k10 http://www.innovatechnologies.in On Dec 26, 8:07 pm, Robert Sosinski <[EMAIL PROTECTED]> wrote: > Hello again, > > I am having this problem. I have a Thread model and a Post model. > What is interesting is whenever I have a post that has the same id as > the thread_id (so, id = 4 and thread_id = 4), cake will no longer add > new records. It will only overwrite the same record over and over > again (like it is editing it). > > Anyone else have this problem? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
