note 78557 added to ref.pdo-mysql
| From: | marty at excudo dot net | Date: | Wed, 17 Oct 2007 12:13:22 +0000 |
| Subject: | note 78557 added to ref.pdo-mysql | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131450@lists.php.net to get a copy of this message | ||
Davey wrote:
> To use "PDO::MYSQL_ATTR_USE_BUFFERED_QUERY" you should call
> PDO::setAttribute("PDO::MYSQL_ATTR_USE_BUFFERED_QUERY", true);
>
>It will not work when passed into PDO::prepare()
>
> - Davey
Almost correct. It should be:
PDO::setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true);
so, without the quotes.
otherwise it still won't work :)
----
Server IP: 83.137.20.135
Probable Submitter: 213.244.160.148
----
Manual Page -- http://www.php.net/manual/en/ref.pdo-mysql.php
Edit -- https://master.php.net/note/edit/78557
Del: integrated -- https://master.php.net/note/delete/78557/integrated
Del: useless -- https://master.php.net/note/delete/78557/useless
Del: bad code -- https://master.php.net/note/delete/78557/bad+code
Del: spam -- https://master.php.net/note/delete/78557/spam
Del: non-english -- https://master.php.net/note/delete/78557/non-english
Del: in docs -- https://master.php.net/note/delete/78557/in+docs
Del: other reasons-- https://master.php.net/note/delete/78557
Reject -- https://master.php.net/note/reject/78557
Search -- https://master.php.net/manage/user-notes.php