Thanks, but unfortunately the results are the same. No update query is
run.

                $model->id=$userID;
                $data=$model->read();
                debug($data);
                //overwrite their password
                $data['User']['password']='ThisUserViolatedTerms'.date('dmY');
                //save new password effectively blocking them out.
                //also save boolena field to lock
                $data['User']['isBanned']= 1;
                //$model->data=$violator;
                $model->save($data);

On Dec 4, 7:57 pm, ridwan arifandi <[EMAIL PROTECTED]> wrote:
> try
>
> $model->id = $foo['User']['id']
> $data = $model->Read();
>
> $data['User']['...'] = xxxx;
>
> then save
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to