mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
- Document the new "new_link" parameter to mysql_connect
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@72091 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c90dcf933c
commit
ade7c21ccd
1 changed files with 8 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.86 $ -->
|
||||
<!-- $Revision: 1.87 $ -->
|
||||
<reference id="ref.mysql">
|
||||
<title>MySQL Functions</title>
|
||||
<titleabbrev>MySQL</titleabbrev>
|
||||
|
@ -293,6 +293,9 @@ mysql_close($link);
|
|||
<methodparam choice="opt"><type>string</type><parameter>
|
||||
password
|
||||
</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>
|
||||
new_link
|
||||
</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns a MySQL link identifier on success, or &false; on failure.
|
||||
|
@ -327,7 +330,10 @@ mysql_close($link);
|
|||
If a second call is made to <function>mysql_connect</function>
|
||||
with the same arguments, no new link will be established, but
|
||||
instead, the link identifier of the already opened link will be
|
||||
returned.
|
||||
returned. The <parameter>new_link</parameter> modifies this behavior and
|
||||
makes <function>mysql_connect</function> always open a new link, even if
|
||||
<function>mysql_connect</function> was called before with the same
|
||||
parameters.
|
||||
</para>
|
||||
<para>
|
||||
The link to the server will be closed as soon as the execution of
|
||||
|
|
Loading…
Reference in a new issue