note 72288 modified in function.pdo-getattribute by danbrown

From: Date: Fri, 28 Nov 2008 21:59:40 +0000
Subject: note 72288 modified in function.pdo-getattribute by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-147289@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 --was-- 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 http://php.net/manual/en/function.pdo-getattribute.php

« previous php.notes (#147289) next »