minor change, updating name of parameter to be always hostname

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@153372 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Enrique Garcia Briones 2004-03-10 20:47:04 +00:00
parent 8891a53910
commit ccae2b3ef9

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.11 $ -->
<!-- $Revision: 1.12 $ -->
<refentry id="function.mysqli-connect">
<refnamediv>
<refname>mysqli_connect</refname>
@ -33,7 +33,7 @@
</classsynopsis>
<para>
The <function>mysqli_connect</function> function attempts to open a connection to the MySQL Server
running on <parameter>host</parameter> which can be either a hostname or an IP address. Passing the
running on <parameter>hostname</parameter> which can be either a host name or an IP address. Passing the
&null; value or the string "localhost" to this parameter, the local host is assumed. When possible,
pipes will be used instead of the TCP/IP protocol. If successful, the <function>mysqli_connect</function>
will return an object representing the connection to the database, or &false; on failure.
@ -60,7 +60,7 @@
<para>
Specifying the <parameter>socket</parameter> parameter will not explicitly determine the type
of connection to be used when connecting to the MySQL server. How the connection is made to the
MySQL database is determined by the <parameter>host</parameter> parameter.
MySQL database is determined by the <parameter>hostname</parameter> parameter.
</para>
</note>
</refsect1>