阅读背景:

多语句查询中的PHP PDO错误

来源:互联网 

I ran in to this problem in one of my live web apps. It seems that if you issue a multi-statement query to MySQL via PHP PDO, and the first statement is an insert statement, and the second statement is an update statement, the PDO::nextRowset() function doesn't return the right number of result sets. (Note that PDO supposedly supports multiple statements per MySQL query since PHP 5.3.)I ran in to this problem in one of my live web




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: