From 5ca6d587323b6148e1aefead6ad05dfa74b6700a Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Sun, 21 May 2006 09:47:05 +0000 Subject: [PATCH] typo in the example (user note) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@213435 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pdo_mysql/constants.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/pdo_mysql/constants.xml b/reference/pdo_mysql/constants.xml index 6d48bd8f60..8cf0a97015 100644 --- a/reference/pdo_mysql/constants.xml +++ b/reference/pdo_mysql/constants.xml @@ -1,5 +1,5 @@ - +
&reftitle.constants; &pdo.driver-constants; @@ -21,7 +21,7 @@ getAttribute(PDO::ATTR_DRIVERNAME) == 'mysql') { +if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') { $stmt = $db->prepare('select * from foo', array(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true)); } else {