草庐IT

salesquoteguid

全部标签

php - 一般错误 2014 在 closeCursor() 之后仍然发生

我通读了其他答案,大多数答案都是通过添加$sth->closeCursor();解决的。我多次调用sprocs,但每次调用时仍然出现错误。这是我的代码:$salesquoteguid);$sth=$dbh->prepare($sql);if($sth->execute($array)){$lineItems=$sth->fetchAll(PDO::FETCH_ASSOC);$sth->closeCursor();}$sql="CALLget_salesquote_totals(:salesquoteguid);";$array=array('salesquoteguid'=>$sale