cvs: phpdoc-zh /reference/mysql/functions mysql-list-processes.xml mysql-list-tables.xml mysql-pconnect.xml
| From: | Gregory Song | Date: | Wed, 26 Mar 2003 08:12:09 +0000 |
| Subject: | cvs: phpdoc-zh /reference/mysql/functions mysql-list-processes.xml mysql-list-tables.xml mysql-pconnect.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-1254@lists.php.net to get a copy of this message | ||
gregory Wed Mar 26 03:12:09 2003 EDT
Modified files:
/phpdoc-zh/reference/mysql/functions mysql-list-processes.xml
mysql-list-tables.xml
mysql-pconnect.xml
Log:
Co-revision with the En Version
Index: phpdoc-zh/reference/mysql/functions/mysql-list-processes.xml
diff -u phpdoc-zh/reference/mysql/functions/mysql-list-processes.xml:1.1
phpdoc-zh/reference/mysql/functions/mysql-list-processes.xml:1.2
--- phpdoc-zh/reference/mysql/functions/mysql-list-processes.xml:1.1 Sat Mar 1 07:18:32 2003
+++ phpdoc-zh/reference/mysql/functions/mysql-list-processes.xml Wed Mar 26 03:12:09 2003
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.2 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: gregory $ -->
+<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready -->
<refentry id="function.mysql-list-processes">
<refnamediv>
<refname>mysql_list_processes</refname>
@@ -28,7 +28,7 @@
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
$result = mysql_list_processes($link);
-while ($row = mysql_fetch_row($result)){
+while ($row = mysql_fetch_assoc($result)){
printf("%s %s %s %s %s\n", $row["Id"], $row["Host"],
$row["db"],
$row["Command"], $row["Time"]);
}
Index: phpdoc-zh/reference/mysql/functions/mysql-list-tables.xml
diff -u phpdoc-zh/reference/mysql/functions/mysql-list-tables.xml:1.1
phpdoc-zh/reference/mysql/functions/mysql-list-tables.xml:1.2
--- phpdoc-zh/reference/mysql/functions/mysql-list-tables.xml:1.1 Sat Mar 1 07:18:32 2003
+++ phpdoc-zh/reference/mysql/functions/mysql-list-tables.xml Wed Mar 26 03:12:09 2003
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: gregory $ -->
+<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready -->
<refentry id="function.mysql-list-tables">
<refnamediv>
<refname>mysql_list_tables</refname>
@@ -33,6 +33,13 @@
<para>
ΪÏòϼæÈÝÈÔÈ»¿ÉÒÔʹÓñ¾º¯ÊýµÄ±ðÃû
<function>mysql_listtables</function>£¬µ«·´¶ÔÕâÑù×ö¡£
+ </para>
+ <para>
+ <note>
+ <simpara>
+
¸Ãº¯ÊýÒѾ±»É¾³ýÁË£¬Çë²»ÒªÔÙʹÓøú¯Êý¡£Äú¿ÉÒÔÓÃÃüÁî
SHOW TABLES FROM DATABASE À´ÊµÏָú¯ÊýµÄ¹¦ÄÜ¡£
+ </simpara>
+ </note>
</para>
<example>
<title><function>mysql_list_tables</function> Àý×Ó</title>
Index: phpdoc-zh/reference/mysql/functions/mysql-pconnect.xml
diff -u phpdoc-zh/reference/mysql/functions/mysql-pconnect.xml:1.1
phpdoc-zh/reference/mysql/functions/mysql-pconnect.xml:1.2
--- phpdoc-zh/reference/mysql/functions/mysql-pconnect.xml:1.1 Tue Mar 4 03:51:46 2003
+++ phpdoc-zh/reference/mysql/functions/mysql-pconnect.xml Wed Mar 26 03:12:09 2003
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: gregory $ -->
+<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready -->
<refentry id="function.mysql-pconnect">
<refnamediv>
<refname>mysql_pconnect</refname>
@@ -13,9 +13,7 @@
<title>˵Ã÷</title>
<methodsynopsis>
<type>resource</type><methodname>mysql_pconnect</methodname>
- <methodparam choice="opt"><type>string</type><parameter>
- server
- </parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>server</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>username</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>password</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>client_flags</parameter></methodparam>