didou Wed Jul 9 11:07:30 2003 EDT Modified files: /phpdoc/en/reference/mysql/functions mysql-affected-rows.xml mysql-client-encoding.xml mysql-close.xml mysql-connect.xml mysql-create-db.xml mysql-data-seek.xml mysql-db-name.xml mysql-drop-db.xml mysql-errno.xml mysql-error.xml mysql-escape-string.xml mysql-fetch-array.xml mysql-fetch-assoc.xml mysql-fetch-field.xml mysql-fetch-lengths.xml mysql-fetch-object.xml mysql-fetch-row.xml mysql-field-name.xml mysql-field-seek.xml mysql-field-type.xml mysql-get-client-info.xml mysql-get-host-info.xml mysql-get-proto-info.xml mysql-get-server-info.xml mysql-info.xml mysql-insert-id.xml mysql-list-dbs.xml mysql-list-fields.xml mysql-list-processes.xml mysql-list-tables.xml mysql-num-fields.xml mysql-num-rows.xml mysql-ping.xml mysql-query.xml mysql-real-escape-string.xml mysql-result.xml mysql-select-db.xml mysql-stat.xml mysql-tablename.xml mysql-thread-id.xml mysql-unbuffered-query.xml Log: fixed structures and added example for mysql_result()
Index: phpdoc/en/reference/mysql/functions/mysql-affected-rows.xml diff -u phpdoc/en/reference/mysql/functions/mysql-affected-rows.xml:1.7 phpdoc/en/reference/mysql/functions/mysql-affected-rows.xml:1.8 --- phpdoc/en/reference/mysql/functions/mysql-affected-rows.xml:1.7 Sat May 17 14:33:59 2003 +++ phpdoc/en/reference/mysql/functions/mysql-affected-rows.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-affected-rows"> <refnamediv> @@ -73,13 +73,13 @@ </programlisting> <para> The above example would produce the following output: - <screen> + </para> + <screen> <![CDATA[ Records deleted: 10 Records deleted: 0 ]]> - </screen> - </para> + </screen> </example> <example> <title>Update-Query</title> @@ -100,17 +100,17 @@ </programlisting> <para> The above example would produce the following output: - <screen> + </para> + <screen> <![CDATA[ Updated Records: 10 ]]> - </screen> - </para> + </screen> </example> </para> <para> - See also: <function>mysql_num_rows</function>, - <function>mysql_info</function>. + See also <function>mysql_num_rows</function>, + <function>mysql_info</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-client-encoding.xml diff -u phpdoc/en/reference/mysql/functions/mysql-client-encoding.xml:1.3 phpdoc/en/reference/mysql/functions/mysql-client-encoding.xml:1.4 --- phpdoc/en/reference/mysql/functions/mysql-client-encoding.xml:1.3 Tue May 27 19:26:56 2003 +++ phpdoc/en/reference/mysql/functions/mysql-client-encoding.xml Wed Jul 9 11:07:29 2003 @@ -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.100 --> <refentry id="function.mysql-client-encoding"> <refnamediv> @@ -16,6 +16,7 @@ <function>mysql_client_encoding</function> returns the default character set name for the current connection. </para> + <para> <example> <title><function>mysql_client_encoding</function> example</title> <programlisting role="php"> @@ -29,15 +30,16 @@ </programlisting> <para> The above example would produce the following output: - <screen> + </para> + <screen> <![CDATA[ current character set is latin1 ]]> - </screen> - </para> + </screen> </example> + </para> <para> - See also: + See also <function>mysql_real_escape_string</function> </para> </refsect1> Index: phpdoc/en/reference/mysql/functions/mysql-close.xml diff -u phpdoc/en/reference/mysql/functions/mysql-close.xml:1.3 phpdoc/en/reference/mysql/functions/mysql-close.xml:1.4 --- phpdoc/en/reference/mysql/functions/mysql-close.xml:1.3 Sun Dec 1 21:37:29 2002 +++ phpdoc/en/reference/mysql/functions/mysql-close.xml Wed Jul 9 11:07:29 2003 @@ -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.2 --> <refentry id="function.mysql-close"> <refnamediv> @@ -35,9 +35,10 @@ created by <function>mysql_pconnect</function>. </para> </note> - <example> - <title>MySQL close example</title> - <programlisting role="php"> + <para> + <example> + <title>MySQL close example</title> + <programlisting role="php"> <![CDATA[ <?php $link = mysql_connect("localhost", "mysql_user", "mysql_password") @@ -46,10 +47,11 @@ mysql_close($link); ?> ]]> - </programlisting> - </example> + </programlisting> + </example> + </para> <para> - See also: <function>mysql_connect</function>, and + See also <function>mysql_connect</function> and <function>mysql_pconnect</function>. </para> </refsect1> Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.6 phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.7 --- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.6 Thu Feb 20 06:20:34 2003 +++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-connect"> <refnamediv> @@ -93,9 +93,10 @@ the script ends, unless it's closed earlier by explicitly calling <function>mysql_close</function>. </para> - <example> - <title>MySQL connect example</title> - <programlisting role="php"> + <para> + <example> + <title><function>mysql_connect</function> example</title> + <programlisting role="php"> <![CDATA[ <?php $link = mysql_connect("localhost", "mysql_user", "mysql_password") @@ -104,9 +105,11 @@ mysql_close($link); ?> ]]> - </programlisting> - </example> - <para> See also + </programlisting> + </example> + </para> + <para> + See also <function>mysql_pconnect</function> and <function>mysql_close</function>. </para> Index: phpdoc/en/reference/mysql/functions/mysql-create-db.xml diff -u phpdoc/en/reference/mysql/functions/mysql-create-db.xml:1.6 phpdoc/en/reference/mysql/functions/mysql-create-db.xml:1.7 --- phpdoc/en/reference/mysql/functions/mysql-create-db.xml:1.6 Sat May 17 09:25:38 2003 +++ phpdoc/en/reference/mysql/functions/mysql-create-db.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-create-db"> <refnamediv> @@ -23,9 +23,10 @@ <para> &return.success; </para> - <example> - <title>MySQL create database example</title> - <programlisting role="php"> + <para> + <example> + <title>MySQL create database example</title> + <programlisting role="php"> <![CDATA[ <?php $link = mysql_pconnect("localhost", "mysql_user", "mysql_password") @@ -38,8 +39,9 @@ } ?> ]]> - </programlisting> - </example> + </programlisting> + </example> + </para> <para> For downwards compatibility <function>mysql_createdb</function> can also be used. This is deprecated, however. @@ -58,8 +60,9 @@ </para> </warning> <para> - See also: <function>mysql_drop_db</function>, - <function>mysql_query</function>. + See also + <function>mysql_drop_db</function> and + <function>mysql_query</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-data-seek.xml diff -u phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.5 phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.6 --- phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.5 Sun Dec 1 21:37:29 2002 +++ phpdoc/en/reference/mysql/functions/mysql-data-seek.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-data-seek"> <refnamediv> @@ -34,9 +34,10 @@ <function>mysql_unbuffered_query</function>. </para> </note> - <example> - <title>MySQL data seek example</title> - <programlisting role="php"> + <para> + <example> + <title><function>mysql_data_seek</function> example</title> + <programlisting role="php"> <![CDATA[ <?php $link = mysql_pconnect("localhost", "mysql_user", "mysql_password") @@ -65,11 +66,13 @@ mysql_free_result($result); ?> ]]> - </programlisting> - </example> + </programlisting> + </example> + </para> <para> - See also: <function>mysql_query</function>, - <function>mysql_num_rows</function>. + See also + <function>mysql_query</function> and + <function>mysql_num_rows</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-db-name.xml diff -u phpdoc/en/reference/mysql/functions/mysql-db-name.xml:1.2 phpdoc/en/reference/mysql/functions/mysql-db-name.xml:1.3 --- phpdoc/en/reference/mysql/functions/mysql-db-name.xml:1.2 Wed Apr 17 02:41:06 2002 +++ phpdoc/en/reference/mysql/functions/mysql-db-name.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.23 --> <refentry id="function.mysql-db-name"> <refnamediv> @@ -29,9 +29,10 @@ <function>mysql_error</function> to determine the nature of the error. </para> - <example> - <title><function>mysql_db_name</function> example</title> - <programlisting role="php"> + <para> + <example> + <title><function>mysql_db_name</function> example</title> + <programlisting role="php"> <![CDATA[ <?php error_reporting(E_ALL); @@ -47,8 +48,9 @@ } ?> ]]> - </programlisting> - </example> + </programlisting> + </example> + </para> <para> For backward compatibility, <function>mysql_dbname</function> is also accepted. This is deprecated, however. Index: phpdoc/en/reference/mysql/functions/mysql-drop-db.xml diff -u phpdoc/en/reference/mysql/functions/mysql-drop-db.xml:1.7 phpdoc/en/reference/mysql/functions/mysql-drop-db.xml:1.8 --- phpdoc/en/reference/mysql/functions/mysql-drop-db.xml:1.7 Wed Mar 26 13:03:40 2003 +++ phpdoc/en/reference/mysql/functions/mysql-drop-db.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-drop-db"> <refnamediv> @@ -41,7 +41,8 @@ </para> </warning> <para> - See also <function>mysql_create_db</function>, and + See also + <function>mysql_create_db</function> and <function>mysql_query</function>. </para> </refsect1> Index: phpdoc/en/reference/mysql/functions/mysql-errno.xml diff -u phpdoc/en/reference/mysql/functions/mysql-errno.xml:1.6 phpdoc/en/reference/mysql/functions/mysql-errno.xml:1.7 --- phpdoc/en/reference/mysql/functions/mysql-errno.xml:1.6 Fri Feb 28 18:53:38 2003 +++ phpdoc/en/reference/mysql/functions/mysql-errno.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-errno"> <refnamediv> @@ -65,7 +65,7 @@ </para> </note> <para> - See also: <function>mysql_error</function> + See also <function>mysql_error</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-error.xml diff -u phpdoc/en/reference/mysql/functions/mysql-error.xml:1.6 phpdoc/en/reference/mysql/functions/mysql-error.xml:1.7 --- phpdoc/en/reference/mysql/functions/mysql-error.xml:1.6 Mon Jul 1 18:20:01 2002 +++ phpdoc/en/reference/mysql/functions/mysql-error.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-error"> <refnamediv> @@ -64,7 +64,7 @@ </para> </note> <para> - See also: <function>mysql_errno</function> + See also <function>mysql_errno</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-escape-string.xml diff -u phpdoc/en/reference/mysql/functions/mysql-escape-string.xml:1.6 phpdoc/en/reference/mysql/functions/mysql-escape-string.xml:1.7 --- phpdoc/en/reference/mysql/functions/mysql-escape-string.xml:1.6 Sat Jun 15 05:07:17 2002 +++ phpdoc/en/reference/mysql/functions/mysql-escape-string.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.62 --> <refentry id="function.mysql-escape-string"> <refnamediv> @@ -31,9 +31,10 @@ connection argument and does not respect the current charset setting. </simpara> </note> - <example> - <title><function>mysql_escape_string</function> example</title> - <programlisting role="php"> + <para> + <example> + <title><function>mysql_escape_string</function> example</title> + <programlisting role="php"> <![CDATA[ <?php $item = "Zak's Laptop"; @@ -41,20 +42,21 @@ printf ("Escaped string: %s\n", $escaped_item); ?> ]]> - </programlisting> - <para> - The above example would produce the following output: + </programlisting> + <para> + The above example would produce the following output: + </para> <screen> <![CDATA[ Escaped string: Zak\'s Laptop ]]> </screen> - </para> - </example> + </example> + </para> <para> - See also: + See also <function>mysql_real_escape_string</function>, - <function>addslashes</function>, and the + <function>addslashes</function> and the <link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link> directive. </para> Index: phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml:1.10 phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml:1.11 --- phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml:1.10 Wed Jul 2 04:57:56 2003 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-array.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.27 --> <refentry id="function.mysql-fetch-array"> <refnamediv> @@ -64,9 +64,10 @@ <function>mysql_fetch_row</function> works). </para> &database.field-case; - <example> - <title>mysql_fetch_array with MYSQL_NUM</title> - <programlisting role="php"> + <para> + <example> + <title><function>mysql_fetch_array</function> with MYSQL_NUM</title> + <programlisting role="php"> <![CDATA[ <?php mysql_connect("localhost", "mysql_user", "mysql_password") or @@ -82,11 +83,11 @@ mysql_free_result($result); ?> ]]> - </programlisting> - </example> - <example> - <title>mysql_fetch_array with MYSQL_ASSOC</title> - <programlisting role="php"> + </programlisting> + </example> + <example> + <title><function>mysql_fetch_array</function> with MYSQL_ASSOC</title> + <programlisting role="php"> <![CDATA[ <?php mysql_connect("localhost", "mysql_user", "mysql_password") or @@ -102,11 +103,11 @@ mysql_free_result($result); ?> ]]> - </programlisting> - </example> - <example> - <title>mysql_fetch_array with MYSQL_BOTH</title> - <programlisting role="php"> + </programlisting> + </example> + <example> + <title><function>mysql_fetch_array</function> with MYSQL_BOTH</title> + <programlisting role="php"> <![CDATA[ <?php mysql_connect("localhost", "mysql_user", "mysql_password") or @@ -122,8 +123,9 @@ mysql_free_result($result); ?> ]]> - </programlisting> - </example> + </programlisting> + </example> + </para> <para> See also <function>mysql_fetch_row</function> and Index: phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml:1.7 phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml:1.8 --- phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml:1.7 Wed Jul 2 04:57:56 2003 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.45 --> <refentry id="function.mysql-fetch-assoc"> <refnamediv> @@ -42,9 +42,10 @@ provides a significant added value. </para> &database.field-case; - <example> - <title>An expanded <function>mysql_fetch_assoc</function> example</title> - <programlisting role="php"> + <para> + <example> + <title>An expanded <function>mysql_fetch_assoc</function> example</title> + <programlisting role="php"> <![CDATA[ <?php @@ -90,13 +91,14 @@ ?> ]]> - </programlisting> - </example> + </programlisting> + </example> + </para> <para> See also <function>mysql_fetch_row</function>, <function>mysql_fetch_array</function>, - <function>mysql_query</function>, and + <function>mysql_query</function> and <function>mysql_error</function>. </para> </refsect1> Index: phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml:1.6 phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml:1.7 --- phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml:1.6 Wed Jul 2 04:57:56 2003 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-fetch-field"> <refnamediv> @@ -92,9 +92,10 @@ </itemizedlist> </para> &database.field-case; - <example> - <title><function>mysql_fetch_field</function></title> - <programlisting role="php"> + <para> + <example> + <title><function>mysql_fetch_field</function> example</title> + <programlisting role="php"> <![CDATA[ <?php mysql_connect('localhost:3306', $user, $password) @@ -129,8 +130,9 @@ mysql_free_result($result); ?> ]]> - </programlisting> - </example> + </programlisting> + </example> + </para> <para> See also <function>mysql_field_seek</function>. </para> Index: phpdoc/en/reference/mysql/functions/mysql-fetch-lengths.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-lengths.xml:1.2 phpdoc/en/reference/mysql/functions/mysql-fetch-lengths.xml:1.3 --- phpdoc/en/reference/mysql/functions/mysql-fetch-lengths.xml:1.2 Wed Apr 17 02:41:11 2002 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-lengths.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-fetch-lengths"> <refnamediv> @@ -28,7 +28,7 @@ offset 0. </para> <para> - See also: <function>mysql_fetch_row</function>. + See also <function>mysql_fetch_row</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-fetch-object.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-object.xml:1.5 phpdoc/en/reference/mysql/functions/mysql-fetch-object.xml:1.6 --- phpdoc/en/reference/mysql/functions/mysql-fetch-object.xml:1.5 Wed Jul 2 04:57:56 2003 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-object.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-fetch-object"> <refnamediv> @@ -62,7 +62,9 @@ </example> </para> <para> - See also: <function>mysql_fetch_array</function> and + See also + <function>mysql_fetch_array</function>, + <function>mysql_fetch_assoc</function> and <function>mysql_fetch_row</function>. </para> </refsect1> Index: phpdoc/en/reference/mysql/functions/mysql-fetch-row.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-row.xml:1.4 phpdoc/en/reference/mysql/functions/mysql-fetch-row.xml:1.5 --- phpdoc/en/reference/mysql/functions/mysql-fetch-row.xml:1.4 Wed Jul 2 04:57:56 2003 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-row.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-fetch-row"> <refnamediv> @@ -29,10 +29,12 @@ </para> &database.field-case; <para> - See also: <function>mysql_fetch_array</function>, + See also + <function>mysql_fetch_array</function>, + <function>mysql_fetch_assoc</function>, <function>mysql_fetch_object</function>, <function>mysql_data_seek</function>, - <function>mysql_fetch_lengths</function>, and + <function>mysql_fetch_lengths</function> and <function>mysql_result</function>. </para> </refsect1> Index: phpdoc/en/reference/mysql/functions/mysql-field-name.xml diff -u phpdoc/en/reference/mysql/functions/mysql-field-name.xml:1.6 phpdoc/en/reference/mysql/functions/mysql-field-name.xml:1.7 --- phpdoc/en/reference/mysql/functions/mysql-field-name.xml:1.6 Wed Jul 2 04:57:56 2003 +++ phpdoc/en/reference/mysql/functions/mysql-field-name.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-field-name"> <refnamediv> @@ -53,13 +53,13 @@ </programlisting> <para> The above example would produce the following output: - <screen> + </para> + <screen> <![CDATA[ user_id password ]]> - </screen> - </para> + </screen> </example> </para> <para> Index: phpdoc/en/reference/mysql/functions/mysql-field-seek.xml diff -u phpdoc/en/reference/mysql/functions/mysql-field-seek.xml:1.2 phpdoc/en/reference/mysql/functions/mysql-field-seek.xml:1.3 --- phpdoc/en/reference/mysql/functions/mysql-field-seek.xml:1.2 Wed Apr 17 02:41:11 2002 +++ phpdoc/en/reference/mysql/functions/mysql-field-seek.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-field-seek"> <refnamediv> @@ -22,7 +22,7 @@ <function>mysql_field_seek</function> will be returned. </para> <para> - See also: <function>mysql_fetch_field</function>. + See also <function>mysql_fetch_field</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-field-type.xml diff -u phpdoc/en/reference/mysql/functions/mysql-field-type.xml:1.5 phpdoc/en/reference/mysql/functions/mysql-field-type.xml:1.6 --- phpdoc/en/reference/mysql/functions/mysql-field-type.xml:1.5 Sat May 25 17:11:20 2002 +++ phpdoc/en/reference/mysql/functions/mysql-field-type.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-field-type"> <refnamediv> @@ -23,7 +23,7 @@ detailed in the <ulink url="&url.mysql.docs;">MySQL documentation</ulink>. <example> - <title>MySQL field types</title> + <title><function>mysql_field_type</function> example</title> <programlisting role="php"> <![CDATA[ <?php Index: phpdoc/en/reference/mysql/functions/mysql-get-client-info.xml diff -u phpdoc/en/reference/mysql/functions/mysql-get-client-info.xml:1.3 phpdoc/en/reference/mysql/functions/mysql-get-client-info.xml:1.4 --- phpdoc/en/reference/mysql/functions/mysql-get-client-info.xml:1.3 Sun Apr 21 12:06:37 2002 +++ phpdoc/en/reference/mysql/functions/mysql-get-client-info.xml Wed Jul 9 11:07:29 2003 @@ -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.62 --> <refentry id="function.mysql-get-client-info"> <refnamediv> @@ -16,28 +16,31 @@ <function>mysql_get_client_info</function> returns a string that represents the client library version. </para> - <example> - <title>mysql_get_client_info Example</title> - <programlisting role="php"> + <para> + <example> + <title><function>mysql_get_client_info</function> example</title> + <programlisting role="php"> <![CDATA[ <?php printf ("MySQL client info: %s\n", mysql_get_client_info()); ?> ]]> - </programlisting> - <para> - The above example would produce the following output: - </para> - <screen> + </programlisting> + <para> + The above example would produce the following output: + </para> + <screen> <![CDATA[ MySQL client info: 3.23.39 ]]> - </screen> - </example> + </screen> + </example> + </para> <para> - See also: <function>mysql_get_host_info</function>, - <function>mysql_get_proto_info</function> and - <function>mysql_get_server_info</function>. + See also + <function>mysql_get_host_info</function>, + <function>mysql_get_proto_info</function> and + <function>mysql_get_server_info</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-get-host-info.xml diff -u phpdoc/en/reference/mysql/functions/mysql-get-host-info.xml:1.5 phpdoc/en/reference/mysql/functions/mysql-get-host-info.xml:1.6 --- phpdoc/en/reference/mysql/functions/mysql-get-host-info.xml:1.5 Sun Dec 1 21:37:29 2002 +++ phpdoc/en/reference/mysql/functions/mysql-get-host-info.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.62 --> <refentry id="function.mysql-get-host-info"> <refnamediv> @@ -19,9 +19,10 @@ name. If <parameter>link_identifier</parameter> is omitted, the last opened connection will be used. </para> - <example> - <title>mysql_get_host_info Example</title> - <programlisting role="php"> + <para> + <example> + <title><function>mysql_get_host_info</function> example</title> + <programlisting role="php"> <![CDATA[ <?php mysql_connect("localhost", "mysql_user", "mysql_password") or @@ -29,20 +30,22 @@ printf ("MySQL host info: %s\n", mysql_get_host_info()); ?> ]]> - </programlisting> - <para> - The above example would produce the following output: - </para> - <screen> + </programlisting> + <para> + The above example would produce the following output: + </para> + <screen> <![CDATA[ MySQL host info: Localhost via UNIX socket ]]> - </screen> - </example> + </screen> + </example> + </para> <para> - See also: <function>mysql_get_client_info</function>, - <function>mysql_get_proto_info</function> and - <function>mysql_get_server_info</function>. + See also + <function>mysql_get_client_info</function>, + <function>mysql_get_proto_info</function> and + <function>mysql_get_server_info</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-get-proto-info.xml diff -u phpdoc/en/reference/mysql/functions/mysql-get-proto-info.xml:1.6 phpdoc/en/reference/mysql/functions/mysql-get-proto-info.xml:1.7 --- phpdoc/en/reference/mysql/functions/mysql-get-proto-info.xml:1.6 Sat Jan 25 12:16:34 2003 +++ phpdoc/en/reference/mysql/functions/mysql-get-proto-info.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.62 --> <refentry id="function.mysql-get-proto-info"> <refnamediv> @@ -19,9 +19,10 @@ <parameter>link_identifier</parameter> is omitted, the last opened connection will be used. </para> - <example> - <title>mysql_get_proto_info Example</title> - <programlisting role="php"> + <para> + <example> + <title><function>mysql_get_proto_info</function> example</title> + <programlisting role="php"> <![CDATA[ <?php mysql_connect("localhost", "mysql_user", "mysql_password") or @@ -29,20 +30,22 @@ printf ("MySQL protocol version: %s\n", mysql_get_proto_info()); ?> ]]> - </programlisting> - <para> - The above example would produce the following output: - </para> - <screen> + </programlisting> + <para> + The above example would produce the following output: + </para> + <screen> <![CDATA[ MySQL protocol version: 10 ]]> - </screen> - </example> + </screen> + </example> + </para> <para> - See also: <function>mysql_get_client_info</function>, - <function>mysql_get_host_info</function> and - <function>mysql_get_server_info</function>. + See also + <function>mysql_get_client_info</function>, + <function>mysql_get_host_info</function> and + <function>mysql_get_server_info</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-get-server-info.xml diff -u phpdoc/en/reference/mysql/functions/mysql-get-server-info.xml:1.5 phpdoc/en/reference/mysql/functions/mysql-get-server-info.xml:1.6 --- phpdoc/en/reference/mysql/functions/mysql-get-server-info.xml:1.5 Sun Dec 1 21:37:29 2002 +++ phpdoc/en/reference/mysql/functions/mysql-get-server-info.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.96 --> <refentry id="function.mysql-get-server-info"> <refnamediv> @@ -19,9 +19,10 @@ <parameter>link_identifier</parameter> is omitted, the last opened connection will be used. </para> - <example> - <title>mysql_get_server_info Example</title> - <programlisting role="php"> + <para> + <example> + <title><function>mysql_get_server_info</function> example</title> + <programlisting role="php"> <![CDATA[ <?php mysql_connect("localhost", "mysql_user", "mysql_password") or @@ -29,20 +30,22 @@ printf ("MySQL server version: %s\n", mysql_get_server_info()); ?> ]]> - </programlisting> - <para> - The above example would produce the following output: - </para> - <screen> + </programlisting> + <para> + The above example would produce the following output: + </para> + <screen> <![CDATA[ MySQL server version: 4.0.1-alpha ]]> - </screen> - </example> + </screen> + </example> + </para> <para> - See also: <function>mysql_get_client_info</function>, - <function>mysql_get_host_info</function> and - <function>mysql_get_proto_info</function>. + See also + <function>mysql_get_client_info</function>, + <function>mysql_get_host_info</function> and + <function>mysql_get_proto_info</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-info.xml diff -u phpdoc/en/reference/mysql/functions/mysql-info.xml:1.4 phpdoc/en/reference/mysql/functions/mysql-info.xml:1.5 --- phpdoc/en/reference/mysql/functions/mysql-info.xml:1.4 Thu Apr 3 20:55:50 2003 +++ phpdoc/en/reference/mysql/functions/mysql-info.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-info"> <refnamediv> @@ -54,7 +54,7 @@ </para> </note> <para> - See also: <function>mysql_affected_rows</function> + See also <function>mysql_affected_rows</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-insert-id.xml diff -u phpdoc/en/reference/mysql/functions/mysql-insert-id.xml:1.6 phpdoc/en/reference/mysql/functions/mysql-insert-id.xml:1.7 --- phpdoc/en/reference/mysql/functions/mysql-insert-id.xml:1.6 Sun Dec 1 21:37:29 2002 +++ phpdoc/en/reference/mysql/functions/mysql-insert-id.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-insert-id"> <refnamediv> @@ -50,9 +50,10 @@ <literal>LAST_INSERT_ID()</literal> in an SQL query. </para> </warning> - <example> - <title>mysql_insert_id Example</title> - <programlisting role="php"> + <para> + <example> + <title><function>mysql_insert_id</function> example</title> + <programlisting role="php"> <![CDATA[ <?php mysql_connect("localhost", "mysql_user", "mysql_password") or @@ -63,10 +64,11 @@ printf ("Last inserted record has id %d\n", mysql_insert_id()); ?> ]]> - </programlisting> - </example> + </programlisting> + </example> + </para> <para> - See also: <function>mysql_query</function>. + See also <function>mysql_query</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-list-dbs.xml diff -u phpdoc/en/reference/mysql/functions/mysql-list-dbs.xml:1.3 phpdoc/en/reference/mysql/functions/mysql-list-dbs.xml:1.4 --- phpdoc/en/reference/mysql/functions/mysql-list-dbs.xml:1.3 Thu Jan 30 09:18:50 2003 +++ phpdoc/en/reference/mysql/functions/mysql-list-dbs.xml Wed Jul 9 11:07:29 2003 @@ -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.16 --> <refentry id="function.mysql-list-dbs"> <refnamediv> @@ -40,15 +40,15 @@ </programlisting> <para> The above example would produce the following output: - <screen> + </para> + <screen> <![CDATA[ database1 database2 database3 ... ]]> - </screen> - </para> + </screen> </example> </para> <note> Index: phpdoc/en/reference/mysql/functions/mysql-list-fields.xml diff -u phpdoc/en/reference/mysql/functions/mysql-list-fields.xml:1.4 phpdoc/en/reference/mysql/functions/mysql-list-fields.xml:1.5 --- phpdoc/en/reference/mysql/functions/mysql-list-fields.xml:1.4 Sat May 17 17:19:41 2003 +++ phpdoc/en/reference/mysql/functions/mysql-list-fields.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-list-fields"> <refnamediv> @@ -43,15 +43,15 @@ </programlisting> <para> The above example would produce the following output: - <screen> + </para> + <screen> <![CDATA[ field1 field2 field3 ... ]]> - </screen> - </para> + </screen> </example> </para> <para> Index: phpdoc/en/reference/mysql/functions/mysql-list-processes.xml diff -u phpdoc/en/reference/mysql/functions/mysql-list-processes.xml:1.3 phpdoc/en/reference/mysql/functions/mysql-list-processes.xml:1.4 --- phpdoc/en/reference/mysql/functions/mysql-list-processes.xml:1.3 Fri Mar 14 09:01:28 2003 +++ phpdoc/en/reference/mysql/functions/mysql-list-processes.xml Wed Jul 9 11:07:29 2003 @@ -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.96 --> <refentry id="function.mysql-list-processes"> <refnamediv> @@ -37,18 +37,18 @@ </programlisting> <para> The above example would produce the following output: - <screen> + </para> + <screen> <![CDATA[ 1 localhost test Processlist 0 4 localhost mysql sleep 5 ]]> - </screen> - </para> + </screen> </example> </para> <para> - See also: - <function>mysql_thread_id</function> + See also + <function>mysql_thread_id</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-list-tables.xml diff -u phpdoc/en/reference/mysql/functions/mysql-list-tables.xml:1.6 phpdoc/en/reference/mysql/functions/mysql-list-tables.xml:1.7 --- phpdoc/en/reference/mysql/functions/mysql-list-tables.xml:1.6 Thu Mar 13 03:47:05 2003 +++ phpdoc/en/reference/mysql/functions/mysql-list-tables.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-list-tables"> <refnamediv> @@ -41,9 +41,10 @@ </simpara> </note> </para> - <example> - <title><function>mysql_list_tables</function> example</title> - <programlisting role="php"> + <para> + <example> + <title><function>mysql_list_tables</function> example</title> + <programlisting role="php"> <![CDATA[ <?php $dbname = 'mysql_dbname'; @@ -68,11 +69,13 @@ mysql_free_result($result); ?> ]]> - </programlisting> - </example> + </programlisting> + </example> + </para> <para> - See also: <function>mysql_list_dbs</function>, - and <function>mysql_tablename</function>. + See also + <function>mysql_list_dbs</function> and + <function>mysql_tablename</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-num-fields.xml diff -u phpdoc/en/reference/mysql/functions/mysql-num-fields.xml:1.4 phpdoc/en/reference/mysql/functions/mysql-num-fields.xml:1.5 --- phpdoc/en/reference/mysql/functions/mysql-num-fields.xml:1.4 Fri Feb 28 18:53:38 2003 +++ phpdoc/en/reference/mysql/functions/mysql-num-fields.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-num-fields"> <refnamediv> @@ -20,8 +20,9 @@ See also <function>mysql_select_db</function>, <function>mysql_query</function>, - <function>mysql_fetch_field</function>, and - <function>mysql_num_rows</function>.</para> + <function>mysql_fetch_field</function> and + <function>mysql_num_rows</function>. + </para> <para> For downward compatibility <function>mysql_numfields</function> can also be used. This is deprecated however. Index: phpdoc/en/reference/mysql/functions/mysql-num-rows.xml diff -u phpdoc/en/reference/mysql/functions/mysql-num-rows.xml:1.4 phpdoc/en/reference/mysql/functions/mysql-num-rows.xml:1.5 --- phpdoc/en/reference/mysql/functions/mysql-num-rows.xml:1.4 Fri Feb 28 18:53:38 2003 +++ phpdoc/en/reference/mysql/functions/mysql-num-rows.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-num-rows"> <refnamediv> @@ -49,7 +49,7 @@ <function>mysql_affected_rows</function>, <function>mysql_connect</function>, <function>mysql_data_seek</function>, - <function>mysql_select_db</function>, and + <function>mysql_select_db</function> and <function>mysql_query</function>. </para> <para> Index: phpdoc/en/reference/mysql/functions/mysql-ping.xml diff -u phpdoc/en/reference/mysql/functions/mysql-ping.xml:1.3 phpdoc/en/reference/mysql/functions/mysql-ping.xml:1.4 --- phpdoc/en/reference/mysql/functions/mysql-ping.xml:1.3 Mon Apr 29 06:58:16 2002 +++ phpdoc/en/reference/mysql/functions/mysql-ping.xml Wed Jul 9 11:07:29 2003 @@ -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.100 --> <refentry id="function.mysql-ping"> <refnamediv> @@ -24,8 +24,8 @@ server is working, otherwise &false;. </para> <para> - See also: - <function>mysql_thread_id</function>, + See also + <function>mysql_thread_id</function> and <function>mysql_list_processes</function>. </para> </refsect1> Index: phpdoc/en/reference/mysql/functions/mysql-query.xml diff -u phpdoc/en/reference/mysql/functions/mysql-query.xml:1.6 phpdoc/en/reference/mysql/functions/mysql-query.xml:1.7 --- phpdoc/en/reference/mysql/functions/mysql-query.xml:1.6 Fri Apr 11 07:22:03 2003 +++ phpdoc/en/reference/mysql/functions/mysql-query.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.62 --> <refentry id="function.mysql-query"> <refnamediv> @@ -43,7 +43,7 @@ The following query is syntactically invalid, so <function>mysql_query</function> fails and returns &false;: <example> - <title><function>mysql_query</function></title> + <title><function>mysql_query</function> example</title> <programlisting role="php"> <![CDATA[ <php @@ -96,7 +96,8 @@ execution. </para> <para> - See also: <function>mysql_num_rows</function>, + See also + <function>mysql_num_rows</function>, <function>mysql_affected_rows</function>, <function>mysql_unbuffered_query</function>, <function>mysql_free_result</function>, @@ -104,7 +105,7 @@ <function>mysql_fetch_row</function>, <function>mysql_fetch_assoc</function>, <function>mysql_result</function>, - <function>mysql_select_db</function>, and + <function>mysql_select_db</function> and <function>mysql_connect</function>. </para> </refsect1> Index: phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml diff -u phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml:1.4 phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml:1.5 --- phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml:1.4 Sat May 17 14:33:59 2003 +++ phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.100 --> <refentry id="function.mysql-real-escape-string"> <refnamediv> @@ -27,6 +27,7 @@ <literal>%</literal> and <literal>_</literal>. </simpara> </note> + <para> <example> <title><function>mysql_real_escape_string</function> example</title> <programlisting role="php"> @@ -40,16 +41,17 @@ </programlisting> <para> The above example would produce the following output: - <screen> + </para> + <screen> <![CDATA[ Escaped string: Zak\'s and Derick\'s Laptop ]]> - </screen> - </para> + </screen> </example> + </para> <para> - See also: - <function>mysql_escape_string</function>, + See also + <function>mysql_escape_string</function> and <function>mysql_character_set_name</function>. </para> </refsect1> Index: phpdoc/en/reference/mysql/functions/mysql-result.xml diff -u phpdoc/en/reference/mysql/functions/mysql-result.xml:1.2 phpdoc/en/reference/mysql/functions/mysql-result.xml:1.3 --- phpdoc/en/reference/mysql/functions/mysql-result.xml:1.2 Wed Apr 17 02:41:13 2002 +++ phpdoc/en/reference/mysql/functions/mysql-result.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-result"> <refnamediv> @@ -38,9 +38,30 @@ with calls to other functions that deal with the result set. </para> <para> - Recommended high-performance alternatives: + <example> + <title><function>mysql_result</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php + $link = mysql_connect("localhost", "mysql_user", "mysql_password") + or die("Could not connect: " . mysql_error()); + + $result = mysql_query("SELECT name FROM work.employee") + or die("Could not query: . mysql_error()); + + echo mysql_result($result,2); // outputs third employee's name + + mysql_close($link); +?> +]]> + </programlisting> + </example> + </para> + <para> + Recommended high-performance alternatives : <function>mysql_fetch_row</function>, - <function>mysql_fetch_array</function>, and + <function>mysql_fetch_array</function>, + <function>mysql_fetch_assoc</function> and <function>mysql_fetch_object</function>. </para> </refsect1> Index: phpdoc/en/reference/mysql/functions/mysql-select-db.xml diff -u phpdoc/en/reference/mysql/functions/mysql-select-db.xml:1.2 phpdoc/en/reference/mysql/functions/mysql-select-db.xml:1.3 --- phpdoc/en/reference/mysql/functions/mysql-select-db.xml:1.2 Wed Apr 17 02:41:14 2002 +++ phpdoc/en/reference/mysql/functions/mysql-select-db.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-select-db"> <refnamediv> @@ -30,9 +30,10 @@ Every subsequent call to <function>mysql_query</function> will be made on the active database. </para> - <para> See also: + <para> + See also <function>mysql_connect</function>, - <function>mysql_pconnect</function>, and + <function>mysql_pconnect</function> and <function>mysql_query</function>. </para> <para> Index: phpdoc/en/reference/mysql/functions/mysql-stat.xml diff -u phpdoc/en/reference/mysql/functions/mysql-stat.xml:1.5 phpdoc/en/reference/mysql/functions/mysql-stat.xml:1.6 --- phpdoc/en/reference/mysql/functions/mysql-stat.xml:1.5 Thu Jan 9 07:58:05 2003 +++ phpdoc/en/reference/mysql/functions/mysql-stat.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.62 --> <refentry id="function.mysql-stat"> <refnamediv> @@ -37,7 +37,8 @@ </programlisting> <para> The above example would produce the following output: - <screen> + </para> + <screen> <![CDATA[ Array ( @@ -51,8 +52,7 @@ [7] => Queries per second avg: 245.595 ) ]]> - </screen> - </para> + </screen> </example> </para> </refsect1> Index: phpdoc/en/reference/mysql/functions/mysql-tablename.xml diff -u phpdoc/en/reference/mysql/functions/mysql-tablename.xml:1.5 phpdoc/en/reference/mysql/functions/mysql-tablename.xml:1.6 --- phpdoc/en/reference/mysql/functions/mysql-tablename.xml:1.5 Thu Jan 30 09:18:50 2003 +++ phpdoc/en/reference/mysql/functions/mysql-tablename.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-tablename"> <refnamediv> @@ -23,7 +23,7 @@ traverse this result pointer, or any function for result tables, such as <function>mysql_fetch_array</function>. <example> - <title><function>mysql_tablename</function> Example</title> + <title><function>mysql_tablename</function> example</title> <programlisting role="php"> <![CDATA[ <?php @@ -40,7 +40,8 @@ </example> </para> <para> - See also: <function>mysql_list_tables</function>. + See also + <function>mysql_list_tables</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/mysql/functions/mysql-thread-id.xml diff -u phpdoc/en/reference/mysql/functions/mysql-thread-id.xml:1.5 phpdoc/en/reference/mysql/functions/mysql-thread-id.xml:1.6 --- phpdoc/en/reference/mysql/functions/mysql-thread-id.xml:1.5 Fri Jun 21 08:50:59 2002 +++ phpdoc/en/reference/mysql/functions/mysql-thread-id.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.100 --> <refentry id="function.mysql-thread-id"> <refnamediv> @@ -19,6 +19,7 @@ you should not get the thread ID and store it for later. You should get it when you need it. </para> + <para> <example> <title><function>mysql_thread_id</function> example</title> <programlisting role="php"> @@ -34,16 +35,17 @@ </programlisting> <para> The above example would produce the following output: - <screen> + </para> + <screen> <![CDATA[ current thread id is 73 ]]> - </screen> - </para> + </screen> </example> + </para> <para> - See also: - <function>mysql_ping</function>, + See also + <function>mysql_ping</function> and <function>mysql_list_processes</function>. </para> </refsect1> Index: phpdoc/en/reference/mysql/functions/mysql-unbuffered-query.xml diff -u phpdoc/en/reference/mysql/functions/mysql-unbuffered-query.xml:1.5 phpdoc/en/reference/mysql/functions/mysql-unbuffered-query.xml:1.6 --- phpdoc/en/reference/mysql/functions/mysql-unbuffered-query.xml:1.5 Wed Jun 18 15:55:19 2003 +++ phpdoc/en/reference/mysql/functions/mysql-unbuffered-query.xml Wed Jul 9 11:07:29 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-unbuffered-query"> <refnamediv> @@ -40,7 +40,7 @@ </para> </note> <para> - See also: <function>mysql_query</function>. + See also <function>mysql_query</function>. </para> </refsect1> </refentry>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php