note 72288 added to function.pdo-getattribute
| From: | Tim at osu1 dot php dot net | Date: | Thu, 11 Jan 2007 16:20:00 +0000 |
| Subject: | note 72288 added to function.pdo-getattribute | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-121557@lists.php.net to get a copy of this message | ||
If you want to retreive the Database type connection you can use the constant:
ATTR_DRIVER_NAME
$pdo_connection->getAttribute(constant("PDO::ATTR_DRIVER_NAME"))
Although i do not know if all drivers support this contant
----
Server IP: 66.163.161.117
Probable Submitter: 82.93.220.66 (proxied: 127.0.0.1)
----
Manual Page -- http://www.php.net/manual/en/function.pdo-getattribute.php
Edit -- https://master.php.net/note/edit/72288
Del: integrated -- https://master.php.net/note/delete/72288/integrated
Del: useless -- https://master.php.net/note/delete/72288/useless
Del: bad code -- https://master.php.net/note/delete/72288/bad+code
Del: spam -- https://master.php.net/note/delete/72288/spam
Del: non-english -- https://master.php.net/note/delete/72288/non-english
Del: in docs -- https://master.php.net/note/delete/72288/in+docs
Del: other reasons-- https://master.php.net/note/delete/72288
Reject -- https://master.php.net/note/reject/72288
Search -- https://master.php.net/manage/user-notes.php