As I said, the parameter in the description should be alwas host

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@153427 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Enrique Garcia Briones 2004-03-11 14:23:06 +00:00
parent 5dc2665ef7
commit 28baa28116

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.12 $ -->
<!-- $Revision: 1.13 $ -->
<refentry id="function.mysqli-connect">
<refnamediv>
<refname>mysqli_connect</refname>
@ -11,7 +11,7 @@
<para>Procedural style</para>
<methodsynopsis>
<type>object</type><methodname>mysqli_connect</methodname>
<methodparam choice='opt'><type>string</type><parameter>hostname</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>host</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>username</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>passwd</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>dbname</parameter></methodparam>
@ -23,7 +23,7 @@
<ooclass><classname>mysqli</classname></ooclass>
<constructorsynopsis>
<methodname>__construct</methodname>
<methodparam choice='opt'><type>string</type><parameter>hostname</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>host</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>username</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>passwd</parameter></methodparam>
<methodparam choice='opt'><type>string</type><parameter>dbname</parameter></methodparam>
@ -33,7 +33,7 @@
</classsynopsis>
<para>
The <function>mysqli_connect</function> function attempts to open a connection to the MySQL Server
running on <parameter>hostname</parameter> which can be either a host name or an IP address. Passing the
running on <parameter>host</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.
@ -51,7 +51,7 @@
</para>
<para>
The <parameter>port</parameter> and <parameter>socket</parameter> parameters are used in
conjunction with the <parameter>hostname</parameter> parameter to further control how to connect
conjunction with the <parameter>host</parameter> parameter to further control how to connect
to the database server. The <parameter>port</parameter> parameter specifies the port number to
attempt to connect to the MySQL server on, while the <parameter>socket</parameter> parameter
specifies the socket or named pipe that should be used.
@ -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>hostname</parameter> parameter.
MySQL database is determined by the <parameter>host</parameter> parameter.
</para>
</note>
</refsect1>