cvs: phpdoc-zh /reference/mysql/functions mysql-create-db.xml mysql-drop-db.xml mysql-fetch-array.xml mysql-info.xml mysql-query.xml
mysql-unbuffered-query.xml

From: Date: Sun, 20 Apr 2003 06:43:55 +0000
Subject: cvs: phpdoc-zh /reference/mysql/functions mysql-create-db.xml mysql-drop-db.xml mysql-fetch-array.xml mysql-info.xml mysql-query.xml
mysql-unbuffered-query.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-1352@lists.php.net to get a copy of this message
dallas Sun Apr 20 02:43:55 2003 EDT Modified files: /phpdoc-zh/reference/mysql/functions mysql-create-db.xml mysql-drop-db.xml mysql-fetch-array.xml mysql-info.xml mysql-query.xml mysql-unbuffered-query.xml Log: Updated. Index: phpdoc-zh/reference/mysql/functions/mysql-create-db.xml diff -u phpdoc-zh/reference/mysql/functions/mysql-create-db.xml:1.1 phpdoc-zh/reference/mysql/functions/mysql-create-db.xml:1.2 --- phpdoc-zh/reference/mysql/functions/mysql-create-db.xml:1.1 Tue Feb 25 04:51:58 2003 +++ phpdoc-zh/reference/mysql/functions/mysql-create-db.xml Sun Apr 20 02:43:55 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> <refentry id="function.mysql-create-db"> <refnamediv> <refname>mysql_create_db</refname> @@ -46,9 +46,14 @@ <para> ²»ÌᳫʹÓú¯Êý <function>mysql_create_db</function>¡£×îºÃÓà <function>mysql_query</function> À´Ìá½»Ò»Ìõ - SQL CREATE DATABASE Óï¾äÀ´Ìæ´ú¡£ + <literal>SQL CREATE DATABASE</literal> Óï¾äÀ´Ìæ´ú¡£ </para> </note> + <warning> + <para> + Èç¹û MySQL À©Õ¹¿âÊÇ»ùÓÚ MySQL 4.x ¿Í»§¶Ë¿â½¨Á¢µÄ£¬Ôò±¾º¯Êý²»¿ÉÓᣠ+ </para> + </warning> <para> ²Î¼û <function>mysql_drop_db</function> ºÍ <function>mysql_query</function>¡£ Index: phpdoc-zh/reference/mysql/functions/mysql-drop-db.xml diff -u phpdoc-zh/reference/mysql/functions/mysql-drop-db.xml:1.2 phpdoc-zh/reference/mysql/functions/mysql-drop-db.xml:1.3 --- phpdoc-zh/reference/mysql/functions/mysql-drop-db.xml:1.2 Sat Mar 1 06:52:00 2003 +++ phpdoc-zh/reference/mysql/functions/mysql-drop-db.xml Sun Apr 20 02:43:55 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> <refentry id="function.mysql-drop-db"> <refnamediv> <refname>mysql_drop_db</refname> @@ -29,9 +29,14 @@ <para> ²»ÌᳫʹÓà <function>mysql_drop_db</function> º¯Êý¡£×îºÃÓà <function>mysql_query</function> Ìá½»Ò»Ìõ - SQL DROP DATABASE Óï¾äÀ´Ìæ´ú¡£ + <literal>SQL DROP DATABASE</literal> Óï¾äÀ´Ìæ´ú¡£ </para> </note> + <warning> + <para> + Èç¹û MySQL À©Õ¹¿âÊÇ»ùÓÚ MySQL 4.x ¿Í»§¶Ë¿â½¨Á¢µÄ£¬Ôò±¾º¯Êý²»¿ÉÓᣠ+ </para> + </warning> <para> ²Î¼û <function>mysql_create_db</function> ºÍ <function>mysql_query</function>¡£ Index: phpdoc-zh/reference/mysql/functions/mysql-fetch-array.xml diff -u phpdoc-zh/reference/mysql/functions/mysql-fetch-array.xml:1.3 phpdoc-zh/reference/mysql/functions/mysql-fetch-array.xml:1.4 --- phpdoc-zh/reference/mysql/functions/mysql-fetch-array.xml:1.3 Sat Mar 1 06:52:00 2003 +++ phpdoc-zh/reference/mysql/functions/mysql-fetch-array.xml Sun Apr 20 02:43:55 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> +<!-- EN-Revision: 1.8 Maintainer: dallas Status: ready --> <refentry id="function.mysql-fetch-array"> <refnamediv> <refname>mysql_fetch_array</refname> @@ -33,7 +33,7 @@ <title>Ïàͬ×Ö¶ÎÃûµÄ²éѯ</title> <programlisting role="sql"> <![CDATA[ -select table1.field as foo table2.field as bar from table1, table2 +select table1.field as foo, table2.field as bar from table1, table2 ]]> </programlisting> </example> Index: phpdoc-zh/reference/mysql/functions/mysql-info.xml diff -u phpdoc-zh/reference/mysql/functions/mysql-info.xml:1.1 phpdoc-zh/reference/mysql/functions/mysql-info.xml:1.2 --- phpdoc-zh/reference/mysql/functions/mysql-info.xml:1.1 Fri Feb 28 02:58:40 2003 +++ phpdoc-zh/reference/mysql/functions/mysql-info.xml Sun Apr 20 02:43:55 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> <refentry id="function.mysql-info"> <refnamediv> <refname>mysql_info</refname> Index: phpdoc-zh/reference/mysql/functions/mysql-query.xml diff -u phpdoc-zh/reference/mysql/functions/mysql-query.xml:1.1 phpdoc-zh/reference/mysql/functions/mysql-query.xml:1.2 --- phpdoc-zh/reference/mysql/functions/mysql-query.xml:1.1 Tue Mar 4 05:23:05 2003 +++ phpdoc-zh/reference/mysql/functions/mysql-query.xml Sun Apr 20 02:43:55 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> <refentry id="function.mysql-query"> <refnamediv> <refname>mysql_query</refname> @@ -13,22 +13,13 @@ <type>resource</type><methodname>mysql_query</methodname> <methodparam><type>string</type><parameter>query</parameter></methodparam> <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>result_mode</parameter></methodparam> </methodsynopsis> <para> <function>mysql_query</function> ÏòÓëÖ¸¶¨µÄÁ¬½Ó±êʶ·û¹ØÁªµÄ·þÎñÆ÷Öеĵ±Ç°»î¶¯Êý¾Ý¿â·¢ËÍÒ»Ìõ²éѯ¡£Èç¹ûûÓÐÖ¸¶¨ <parameter>link_identifier</parameter>£¬ÔòʹÓÃÉÏÒ»¸ö´ò¿ªµÄÁ¬½Ó¡£Èç¹ûûÓдò¿ªµÄÁ¬½Ó£¬±¾º¯Êý»á³¢ÊÔÎÞ²ÎÊýµ÷Óà <function>mysql_connect</function> - º¯ÊýÀ´½¨Á¢Ò»¸öÁ¬½Ó²¢Ê¹ÓÃÖ®¡£ - </para> - <para> - ¿ÉÑ¡µÄ - <parameter>result_mode</parameter> - ²ÎÊý¿ÉÒÔÊÇ - MYSQL_USE_RESULT ºÍ MYSQL_STORE_RESULT¡£Ä¬ÈÏÊÇ - MYSQL_STORE_RESULT£¬Òò´Ë½á¹û»á±»»º´æ¡£Óë´Ë»¥²¹µÄÐÐΪ²Î¼û - <function>mysql_unbuffered_query</function>¡£ + º¯ÊýÀ´½¨Á¢Ò»¸öÁ¬½Ó²¢Ê¹ÓÃÖ®¡£²éѯ½á¹û»á±»»º´æ¡£ </para> <note> <para> Index: phpdoc-zh/reference/mysql/functions/mysql-unbuffered-query.xml diff -u phpdoc-zh/reference/mysql/functions/mysql-unbuffered-query.xml:1.1 phpdoc-zh/reference/mysql/functions/mysql-unbuffered-query.xml:1.2 --- phpdoc-zh/reference/mysql/functions/mysql-unbuffered-query.xml:1.1 Tue Mar 4 06:15:35 2003 +++ phpdoc-zh/reference/mysql/functions/mysql-unbuffered-query.xml Sun Apr 20 02:43:55 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> <refentry id="function.mysql-unbuffered-query"> <refnamediv> <refname>mysql_unbuffered_query</refname> @@ -15,7 +15,6 @@ <type>resource</type><methodname>mysql_unbuffered_query</methodname> <methodparam><type>string</type><parameter>query</parameter></methodparam> <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>result_mode</parameter></methodparam> </methodsynopsis> <para> <function>mysql_unbuffered_query</function> Ïò @@ -25,13 +24,6 @@ ÄÇÑù×Ô¶¯»ñÈ¡²¢»º´æ½á¹û¼¯¡£Ò»·½Ã棬ÕâÔÚ´¦ÀíºÜ´óµÄ½á¹û¼¯Ê±»á½ÚÊ¡¿É¹ÛµÄÄÚ´æ¡£ÁíÒ»·½Ã棬¿ÉÒÔÔÚ»ñÈ¡µÚÒ»ÐкóÁ¢¼´¶Ô½á¹û¼¯½øÐвÙ×÷£¬¶ø²»Óõȵ½Õû¸ö SQL Óï¾ä¶¼Ö´ÐÐÍê±Ï¡£µ±Ê¹Óöà¸öÊý¾Ý¿âÁ¬½Óʱ£¬±ØÐëÖ¸¶¨¿ÉÑ¡²ÎÊý <parameter>link_identifier</parameter>¡£ - </para> - <para> - ¿ÉÑ¡µÄ <parameter>result_mode</parameter> - ²ÎÊý¿ÉÒÔÊÇ - MYSQL_USE_RESULT ºÍ MYSQL_STORE_RESULT¡£Ä¬ÈÏΪ - MYSQL_USE_RESULT£¬Òò´Ë½á¹û²»»á±»»º´æ¡£Óë´Ë»¥²¹µÄÐÐΪ²Î¼û - <function>mysql_query</function>¡£ </para> <note> <para>

« previous php.doc.zh (#1352) next »