note 80674 added to function.PDOStatement-fetch
| From: | daltenho at yahoo dot com | Date: | Mon, 28 Jan 2008 17:17:29 +0000 |
| Subject: | note 80674 added to function.PDOStatement-fetch | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135486@lists.php.net to get a copy of this message | ||
As an alternative to marcini's suggestion:
You can use:
$dbh->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true);
...on your PDO connection object to allow query buffering in MySQL. This will eliminate the problem
of re-preparing an unclosed statement object.
----
Server IP: 209.41.74.194
Probable Submitter: 129.79.184.227
----
Manual Page -- http://www.php.net/manual/en/function.PDOStatement-fetch.php
Edit -- https://master.php.net/note/edit/80674
Del: integrated -- https://master.php.net/note/delete/80674/integrated
Del: useless -- https://master.php.net/note/delete/80674/useless
Del: bad code -- https://master.php.net/note/delete/80674/bad+code
Del: spam -- https://master.php.net/note/delete/80674/spam
Del: non-english -- https://master.php.net/note/delete/80674/non-english
Del: in docs -- https://master.php.net/note/delete/80674/in+docs
Del: other reasons-- https://master.php.net/note/delete/80674
Reject -- https://master.php.net/note/reject/80674
Search -- https://master.php.net/manage/user-notes.php