Return to Snippet

Revision: 60126
at October 22, 2012 15:05 by tucq88


Initial Code
$this->HomeLink->updateAll(
   array(
      'login_boss_ko_friend_remain' => 'login_boss_ko_friend_remain + 1' 		
   ),
   array(
      'user_id' => $this->__userId,
   )
);

Initial URL

                                

Initial Description
Update current field data.

Initial Title
[CakePHP] Update field with current field data

Initial Tags
mysql, cakephp, update

Initial Language
PHP