sync with reference.xml r1.59

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249286 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2007-12-29 01:44:39 +00:00
parent a5b5cea7c8
commit 88d06bd275

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<chapter xml:id="pdo.connections" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Connections and Connection management</title>
@ -109,6 +109,15 @@ $dbh = new PDO('mysql:host=localhost;dbname=test', $user, $pass, array(
</programlisting>
</example>
</para>
<note>
<para>
If you wish to use persistent connections, you must set
<constant>PDO::ATTR_PERSISTENT</constant> in the array of driver options
passed to the PDO constructor. If setting this attribute with
<xref linkend="function.PDO-setAttribute" /> after instantiation of the
object, the driver will not use persistent connections.
</para>
</note>
<note>
<para>
If you're using the PDO ODBC driver and your ODBC libraries support ODBC