Try Model::saveField()

http://api.cakephp.org/1.2/class_model.html

On Apr 29, 1:23 pm, JoC <[EMAIL PROTECTED]> wrote:
> Hello,
> I am having a problem with saving just one field.
> I baked my MVC for my user table and everything went fine
> THen i went to the controller and created a new functino called change
> password. The view I used was the edit view I just removed the extra
> fields and the controller i used was the edit controller. But 
> $this->User->save($this->data) saves all the data is tehre a way to save
>
> just the one field?
--~--~---------~--~----~------------~-------~--~----~
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