cvs: phpdoc-zh /reference/mysql/functions mysql-list-fields.xml
| From: | Dallas Thunder | Date: | Mon, 15 Sep 2003 17:09:31 +0000 |
| Subject: | cvs: phpdoc-zh /reference/mysql/functions mysql-list-fields.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-1744@lists.php.net to get a copy of this message | ||
dallas Mon Sep 15 13:09:31 2003 EDT
Modified files:
/phpdoc-zh/reference/mysql/functions mysql-list-fields.xml
Log:
Updated.
Index: phpdoc-zh/reference/mysql/functions/mysql-list-fields.xml
diff -u phpdoc-zh/reference/mysql/functions/mysql-list-fields.xml:1.2
phpdoc-zh/reference/mysql/functions/mysql-list-fields.xml:1.3
--- phpdoc-zh/reference/mysql/functions/mysql-list-fields.xml:1.2 Mon Aug 18 20:29:32 2003
+++ phpdoc-zh/reference/mysql/functions/mysql-list-fields.xml Mon Sep 15 13:09:31 2003
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready -->
+<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready -->
<refentry id="function.mysql-list-fields">
<refnamediv>
<refname>mysql_list_fields</refname>
@@ -54,10 +54,14 @@
ΪÏòϼæÈÝÈÔÈ»¿ÉÒÔʹÓÃ
<function>mysql_listfields</function>£¬µ«·´¶ÔÕâÑù×ö¡£
</para>
- <!-- TODO: this is equiv. with 'select * from $table where &false;,'
- which implies you can better use the field-research functions
- on a real query, that saves you one mysql-query.
- -->
+ <note>
+ <para>
+ <function>mysql_list_fields</function> º¯ÊýÒѹýʱ¡£×îºÃÓÃ
+ <function>mysql_query</function> À´·¢³öÒ»Ìõ
+ <literal>SHOW COLUMNS FROM table [LIKE 'name']</literal>
+ µÄ SQL Óï¾äÀ´´úÌæ¡£
+ </para>
+ </note>
</refsect1>
</refentry>