:Cannot execute queries while other unbuffered queries are active.
Consider using PDOStatement::fetchAll().
Alternatively, if your code is only ever going to run against mysql,
you may enable query buffering by setting the
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
in /www/KFC/Components/libs/mypdo/mypdo.class.php on line 54
在程序中将 $db->exec($sql) 改成 $db->execute($sql) 解决问题
原因进一步研究中
相关连接:
[url]http://usphp.com/manual/en/function.PDO-exec.php[/url]
最后
以上就是可耐指甲油最近收集整理的关于Cannot execute queries while other unbuffered ....的全部内容,更多相关Cannot内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复