Added note about suppressing mysql_connect error message on failure

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@18782 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mike Robinson 2000-01-22 17:37:19 +00:00
parent 8a2b3e5180
commit 2f2244be32

View file

@ -164,8 +164,8 @@
</paramdef>
</funcsynopsis>
<para>
Returns: A positive MySQL link identifier on success, or false on
error.
Returns: A positive MySQL link identifier on success, or an error
message on failure.
</para>
<para>
<function>mysql_connect</function> establishes a connection to a
@ -185,9 +185,13 @@
Support for the &quot;:/path/to/socket&quot; was added in
PHP 3.0.10.
</para>
<para>
You can suppress the error message on failure by prepending '@'
to the function name.
</para>
</note>
</para>
<para>
<para>
In case 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