From 88d06bd275cb864efec928c2e83aec82408f3113 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Sat, 29 Dec 2007 01:44:39 +0000 Subject: [PATCH] sync with reference.xml r1.59 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249286 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pdo/connections.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/reference/pdo/connections.xml b/reference/pdo/connections.xml index e531aa3e41..95c10786b8 100644 --- a/reference/pdo/connections.xml +++ b/reference/pdo/connections.xml @@ -1,5 +1,5 @@ - + Connections and Connection management @@ -109,6 +109,15 @@ $dbh = new PDO('mysql:host=localhost;dbname=test', $user, $pass, array( + + + If you wish to use persistent connections, you must set + PDO::ATTR_PERSISTENT in the array of driver options + passed to the PDO constructor. If setting this attribute with + after instantiation of the + object, the driver will not use persistent connections. + + If you're using the PDO ODBC driver and your ODBC libraries support ODBC