Encountered a pitfall. The teacher did not explain it clearly. If there is no primary key in the array,
*哥
*哥 2020-07-06 14:53:35
0
0
1056

If there is no primary key in uptade(), it should be like this:

$abc=Db::table('wei_user')->where('username','Deng Yunchuan')->update([ 'rmb'=>'1231234' ]);

*哥
*哥

reply all (0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!