thinkphp有没有在原来字符串后来,叠加的方法

浏览:1804 发布日期:2015/09/24 分类:站务建议
比如原来是:1;2;3;
现在给数据库加一个4;$uc['key']=array('push',';'.$_POST['title']);
M('usco')->where('aid=21'])->save($uc);
提示
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE ( aid=21 )' at line 1

结果是:1;2;3;4;
最佳答案
评论( 相关
后面还有条评论,点击查看>>