Blogger Information
Blog 55
fans 0
comment 0
visits 58834
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
TP5 像一个字段追加内容
南鸢离梦的博客
Original
2654 people have browsed it

$Content = $data[‘cid’].’,’; // 追加的内容

$tj = Db::name(‘mp_friends’)->where(‘openid’,$data[‘openid’])->find();

$id = $tj[‘id’];

$sql=”UPDATE rh_mp_friends SET Buy=CONCAT(Buy,’$Content’)WHERE ID = $id”; // Buy 追加的字段

db(‘rh_mp_friends’)->query($sql);

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post