Clarifying how to use persistent connections in mysqli.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293632 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Egeberg 2010-01-17 00:10:27 +00:00
parent 91224d7744
commit 28e9242331

View file

@ -14,6 +14,12 @@
connections every time one is required, as unused connections are
cached and ready to be reused.
</para>
<para>
Unlike the mysql extension, mysqli does not provide a separate function
for opening persistent connections. To open a persistent connection you
must prepend <literal>p:</literal> to the hostname when connecting.
</para>
<para>
The problem with persistent connections is that they can be left in