[CakePHP] Update field with current field data


/ Published in: PHP
Save to your folder(s)

Update current field data.


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.