M('User')->where('id=5')->setInc('score'); M('User')->where('id=5')->setInc('score',5); M('User')->where('id=5')->setDec('score'); $User = M('User'); $User->id = 5; $User->nickname = 'ThinkPHP'; $User->score = array('exp','score+5'); $User->save();
by: 发表于:2017-10-27 09:34:06 顶(0) | 踩(0) 回复
??
by: 发表于:2017-10-27 09:34:06 顶(0) | 踩(0) 回复
??
回复评论