cvs: phpdoc /en/reference/mysql ini.xml /en/reference/mysql/functions mysql-connect.xml mysql-data-seek.xml mysql-drop-db.xml mysql-fetch-array.xml
mysql-field-flags.xml mysql-field-type.xml

From: Date: Tue, 28 Sep 2004 15:33:55 +0000
Subject: cvs: phpdoc /en/reference/mysql ini.xml /en/reference/mysql/functions mysql-connect.xml mysql-data-seek.xml mysql-drop-db.xml mysql-fetch-array.xml
mysql-field-flags.xml mysql-field-type.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969364318@lists.php.net to get a copy of this message
dams Tue Sep 28 11:33:55 2004 EDT Modified files: /phpdoc/en/reference/mysql ini.xml /phpdoc/en/reference/mysql/functions mysql-connect.xml mysql-data-seek.xml mysql-drop-db.xml mysql-fetch-array.xml mysql-field-flags.xml mysql-field-type.xml Log: adding extra tags

http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/ini.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/mysql/ini.xml diff -u phpdoc/en/reference/mysql/ini.xml:1.7 phpdoc/en/reference/mysql/ini.xml:1.8 --- phpdoc/en/reference/mysql/ini.xml:1.7 Sun Aug 1 19:00:38 2004 +++ phpdoc/en/reference/mysql/ini.xml Tue Sep 28 11:33:55 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <section id="mysql.configuration"> &reftitle.runtime; &extension.runtime; @@ -170,7 +170,7 @@ <para> The default server host to use when connecting to the database server if no other host is specified. Doesn't apply in - <link linkend="ini.safe-mode">safe mode</link>. + &safemode;. </para> </listitem> </varlistentry> @@ -184,7 +184,7 @@ <para> The default user name to use when connecting to the database server if no other name is specified. Doesn't apply in - <link linkend="ini.safe-mode">safe mode</link>. + &safemode;. </para> </listitem> </varlistentry> @@ -198,7 +198,7 @@ <para> The default password to use when connecting to the database server if no other password is specified. Doesn't apply in - <link linkend="ini.safe-mode">safe mode</link>. + &safemode;. </para> </listitem> </varlistentry> http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-connect.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.12 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.13 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.12 Fri Feb 20 12:36:42 2004 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Tue Sep 28 11:33:55 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-connect"> <refnamediv> @@ -71,8 +71,9 @@ a new link, even if <function>mysql_connect</function> was called before with the same parameters. The <parameter>client_flags</parameter> parameter can be a combination of the constants - MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or - MYSQL_CLIENT_INTERACTIVE. + <constant>MYSQL_CLIENT_COMPRESS</constant>, + <constant>MYSQL_CLIENT_IGNORE_SPACE</constant> or + <constant>MYSQL_CLIENT_INTERACTIVE</constant>. </para> <note> <para> http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-data-seek.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/mysql/functions/mysql-data-seek.xml diff -u phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.12 phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.13 --- phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.12 Fri Sep 10 10:17:23 2004 +++ phpdoc/en/reference/mysql/functions/mysql-data-seek.xml Tue Sep 28 11:33:55 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-data-seek"> <refnamediv> @@ -14,20 +14,21 @@ <methodparam><type>int</type><parameter>row_number</parameter></methodparam> </methodsynopsis> <para> - &return.success; - </para> - <para> <function>mysql_data_seek</function> moves the internal row pointer of the MySQL result associated with the specified result identifier to point to the specified row number. The next call to <function>mysql_fetch_row</function> would return that row. </para> <para> - <parameter>Row_number</parameter> starts at 0. The <parameter> - row_number</parameter> should be a value in the range from 0 to - mysql_num_rows - 1. However if the result set is empty (mysql_num_rows == - 0), a seek to 0 will fail with a <link linkend="e-warning">E_WARNING - </link> and <function>mysql_data_seek</function> will return &false;. + &return.success; + </para> + <para> + <parameter>row_number</parameter> starts at 0. The + <parameter>row_number</parameter> should be a value in the range from 0 to + <function>mysql_num_rows</function> - 1. However if the result set + is empty (<function>mysql_num_rows</function> == 0), a seek to 0 will + fail with a <link linkend="e-warning">E_WARNING</link> and + <function>mysql_data_seek</function> will return &false;. </para> <note> <para> http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-drop-db.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/mysql/functions/mysql-drop-db.xml diff -u phpdoc/en/reference/mysql/functions/mysql-drop-db.xml:1.9 phpdoc/en/reference/mysql/functions/mysql-drop-db.xml:1.10 --- phpdoc/en/reference/mysql/functions/mysql-drop-db.xml:1.9 Mon Jan 5 08:03:26 2004 +++ phpdoc/en/reference/mysql/functions/mysql-drop-db.xml Tue Sep 28 11:33:55 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-drop-db"> <refnamediv> @@ -37,7 +37,7 @@ <warning> <para> This function will not be available - if the MySQL extension was built against a MySQL 4.x client library + if the MySQL extension was built against a MySQL 4.x client library. </para> </warning> <para> http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml?r1=1.17&r2=1.18&ty=u Index: phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml:1.17 phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml:1.18 --- phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml:1.17 Fri Sep 10 04:26:43 2004 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml Tue Sep 28 11:33:55 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> +<!-- $Revision: 1.18 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.27 --> <refentry id="function.mysql-fetch-array"> <refnamediv> @@ -52,22 +52,27 @@ <para> The optional second argument <parameter>result_type</parameter> in <function>mysql_fetch_array</function> is a constant and can - take the following values: MYSQL_ASSOC, MYSQL_NUM, and - MYSQL_BOTH. This feature was added in PHP 3.0.7. MYSQL_BOTH + take the following values: <constant>MYSQL_ASSOC</constant>, + <constant>MYSQL_NUM</constant>, and <constant>MYSQL_BOTH</constant>. + This feature was added in PHP 3.0.7. <constant>MYSQL_BOTH</constant> is the default for this argument. </para> <para> - By using MYSQL_BOTH, you'll get an array with both associative - and number indices. Using MYSQL_ASSOC, you only get associative + By using <constant>MYSQL_BOTH</constant>, you'll get an array + with both associative and number indices. Using + <constant>MYSQL_ASSOC</constant>, you only get associative indices (as <function>mysql_fetch_assoc</function> works), - using MYSQL_NUM, you only get number indices (as + using <constant>MYSQL_NUM</constant>, you only get number indices (as <function>mysql_fetch_row</function> works). </para> &database.field-case; &database.fetch-null; <para> <example> - <title><function>mysql_fetch_array</function> with MYSQL_NUM</title> + <title> + <function>mysql_fetch_array</function> with + <constant>MYSQL_NUM</constant> + </title> <programlisting role="php"> <![CDATA[ <?php @@ -87,7 +92,9 @@ </programlisting> </example> <example> - <title><function>mysql_fetch_array</function> with MYSQL_ASSOC</title> + <title> + <function>mysql_fetch_array</function> with <constant>MYSQL_ASSOC</constant> + </title> <programlisting role="php"> <![CDATA[ <?php @@ -107,7 +114,9 @@ </programlisting> </example> <example> - <title><function>mysql_fetch_array</function> with MYSQL_BOTH</title> + <title> + <function>mysql_fetch_array</function> with <constant>MYSQL_BOTH</constant> + </title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-field-flags.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/mysql/functions/mysql-field-flags.xml diff -u phpdoc/en/reference/mysql/functions/mysql-field-flags.xml:1.3 phpdoc/en/reference/mysql/functions/mysql-field-flags.xml:1.4 --- phpdoc/en/reference/mysql/functions/mysql-field-flags.xml:1.3 Wed Jul 14 17:08:10 2004 +++ phpdoc/en/reference/mysql/functions/mysql-field-flags.xml Tue Sep 28 11:33:55 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.17 --> <refentry id="function.mysql-field-flags"> <refnamediv> @@ -22,9 +22,12 @@ returned value using <function>explode</function>. </para> <para>The following flags are reported, if your version of MySQL - is current enough to support them: "not_null", "primary_key", - "unique_key", "multiple_key", "blob", "unsigned", "zerofill", - "binary", "enum", "auto_increment", "timestamp". + is current enough to support them: <literal>"not_null"</literal>, + <literal>"primary_key"</literal>, <literal>"unique_key"</literal>, + <literal>"multiple_key"</literal>, <literal>"blob"</literal>, + <literal>"unsigned"</literal>, <literal>"zerofill"</literal>, + <literal>"binary"</literal>, <literal>"enum"</literal>, + <literal>"auto_increment"</literal> et <literal>"timestamp"</literal>. </para> <para> <example> http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-field-type.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/mysql/functions/mysql-field-type.xml diff -u phpdoc/en/reference/mysql/functions/mysql-field-type.xml:1.8 phpdoc/en/reference/mysql/functions/mysql-field-type.xml:1.9 --- phpdoc/en/reference/mysql/functions/mysql-field-type.xml:1.8 Tue Jan 6 19:24:48 2004 +++ phpdoc/en/reference/mysql/functions/mysql-field-type.xml Tue Sep 28 11:33:55 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-field-type"> <refnamediv> @@ -19,7 +19,8 @@ <function>mysql_field_type</function> is similar to the <function>mysql_field_name</function> function. The arguments are identical, but the field type is returned instead. The field type - will be one of "int", "real", "string", "blob", and others as + will be one of <literal>"int"</literal>, <literal>"real"</literal>, + <literal>"string"</literal>, <literal>"blob"</literal>, and others as detailed in the <ulink url="&url.mysql.docs;">MySQL documentation</ulink>. <example>
« previous php.doc (#969364318) next »