Posted By

tucq88 on 10/22/12


Tagged

mysql cakephp update field


Versions (?)

[CakePHP] Update field with current field data


 / Published in: PHP
 

Update current field data.

  1. $this->HomeLink->updateAll(
  2. 'login_boss_ko_friend_remain' => 'login_boss_ko_friend_remain + 1'
  3. ),
  4. 'user_id' => $this->__userId,
  5. )
  6. );

Report this snippet  

You need to login to post a comment.