Hello! I'm a long time coder (27 years) trying to get a handle on Cake. I wrote the following very simple code to update a record. When executed, it does update the record but also creates two new records. I've tried dozens of variations and still get the same results (using the pre-beta release of cake). Please tell me what I am doing wrong.
$this->Member->id = $id; $this->data=$this->Member->read(); $this->data['Member']['bucks']=$this->data['Member']['bucks'] + 1; $this->data['Member']['last']=date( 'Y-m-d H:i:s',time() ); $this->Member->save($this->data['Member']); Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---