mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
8a2b3e5180
commit
2f2244be32
1 changed files with 7 additions and 3 deletions
|
@ -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 ":/path/to/socket" 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
|
||||
|
|
Loading…
Reference in a new issue