baoengb         Thu Mar 11 09:23:07 2004 EDT

  Modified files:              
    /phpdoc/en/reference/mysqli/functions       mysqli-connect.xml 
  Log:
  As I said, the parameter in the description should be alwas host
  
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-connect.xml?r1=1.12&r2=1.13&ty=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-connect.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-connect.xml:1.12 
phpdoc/en/reference/mysqli/functions/mysqli-connect.xml:1.13
--- phpdoc/en/reference/mysqli/functions/mysqli-connect.xml:1.12        Wed Mar 10 
15:47:04 2004
+++ phpdoc/en/reference/mysqli/functions/mysqli-connect.xml     Thu Mar 11 09:23:06 
2004
@@ -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>

Reply via email to