[CakePHP] Update field with current field data
Update current field data.
Copy this code and paste it in your HTML
$this->HomeLink->updateAll(
'login_boss_ko_friend_remain' => 'login_boss_ko_friend_remain + 1'
),
'user_id' => $this->__userId,
)
);
Report this snippet
Comments
Subscribe to comments