Thanks a lot! On Mar 13, 1:39 pm, Miles J <[email protected]> wrote: > Place this outside of the if statement: > > $this->Event->id = $id; > if (empty($this->data)) > > Your save is adding a new row because there is no id to do an update > on.
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
