Skillbooker
Login Register

Cakephp


How do I update a single database field in cakephp?

You can update a single database field in cakephp so:

 

$this->Model->id = $id;
$this->Model->saveField('myfieldtoupdate', $fieldtoupdatevalue);


Posted on: 2016-06-01 Please login/register to leave comments