phpwind9.0 发布或编辑内容时,标题或内容有单引号会报错
phpwind9.0发布或编辑内容时,标题或内容有单引号会报错如下代码db.WindSqlStatement.execute]SQLSTATE[42000]:Syntax...
phpwind9.0发布或编辑内容时,标题或内容有单引号会报错
如下代码
db.WindSqlStatement.execute] 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 '?' at line 1SQL:UPDATE pw_bbs_threads SET `subject` ='看看好不好用\'', `reply_notice` ='1', `disabled` ='0', `ischeck` ='1', `modified_userid` ='1', `modified_username` ='admin', `modified_ip` ='127.0.0.1', `modified_time` ='0' WHERE tid=?
这是我服务器环境问题,还是代码或版本问题,我还在网上找了别人的PHPwind9.0网上注册了一个用户试了一下,别人不报错? 展开
如下代码
db.WindSqlStatement.execute] 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 '?' at line 1SQL:UPDATE pw_bbs_threads SET `subject` ='看看好不好用\'', `reply_notice` ='1', `disabled` ='0', `ischeck` ='1', `modified_userid` ='1', `modified_username` ='admin', `modified_ip` ='127.0.0.1', `modified_time` ='0' WHERE tid=?
这是我服务器环境问题,还是代码或版本问题,我还在网上找了别人的PHPwind9.0网上注册了一个用户试了一下,别人不报错? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询