note 101800 added to pdo.setattribute
| From: | antoyo at osu1 dot php dot net | Date: | Wed, 12 Jan 2011 01:49:31 +0000 |
| Subject: | note 101800 added to pdo.setattribute | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175654@lists.php.net to get a copy of this message | ||
There is also a way to specifie the default fetch mode :
<?php
$connection = new PDO($connection_string);
$connection->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_OBJ);
----
Server IP: 89.31.146.176
Probable Submitter: 74.210.237.3
----
Manual Page -- http://www.php.net/manual/en/pdo.setattribute.php
Edit -- https://master.php.net/note/edit/101800
Del: integrated -- https://master.php.net/note/delete/101800/integrated
Del: useless -- https://master.php.net/note/delete/101800/useless
Del: bad code -- https://master.php.net/note/delete/101800/bad+code
Del: spam -- https://master.php.net/note/delete/101800/spam
Del: non-english -- https://master.php.net/note/delete/101800/non-english
Del: in docs -- https://master.php.net/note/delete/101800/in+docs
Del: other reasons-- https://master.php.net/note/delete/101800
Reject -- https://master.php.net/note/reject/101800
Search -- https://master.php.net/manage/user-notes.php