From e88db7976d28d4895cd3ece49f345f6f5d2be930 Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Thu, 30 Jan 2003 14:18:50 +0000 Subject: [PATCH] more details about mysql_tablename use git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@113968 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysql/functions/mysql-list-dbs.xml | 5 +++-- reference/mysql/functions/mysql-list-tables.xml | 12 ++++++------ reference/mysql/functions/mysql-tablename.xml | 5 ++++- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/reference/mysql/functions/mysql-list-dbs.xml b/reference/mysql/functions/mysql-list-dbs.xml index 6e2dbe20af..d29e5a0f0e 100644 --- a/reference/mysql/functions/mysql-list-dbs.xml +++ b/reference/mysql/functions/mysql-list-dbs.xml @@ -1,5 +1,5 @@ - + @@ -20,7 +20,8 @@ mysql_list_dbs will return a result pointer containing the databases available from the current mysql daemon. Use the mysql_tablename function to - traverse this result pointer, or any function for result tables. + traverse this result pointer, or any function for result tables, + such as mysql_fetch_array. diff --git a/reference/mysql/functions/mysql-list-tables.xml b/reference/mysql/functions/mysql-list-tables.xml index fd953a7c79..e57381effd 100644 --- a/reference/mysql/functions/mysql-list-tables.xml +++ b/reference/mysql/functions/mysql-list-tables.xml @@ -1,5 +1,5 @@ - + @@ -18,10 +18,10 @@ mysql_list_tables takes a database name and returns a result pointer much like the - mysql_query function. You can use the - mysql_tablename function to extract the - actual table names from the result pointer, or any other result - table function such as mysql_fetch_assoc. + mysql_query function. + Use the mysql_tablename function to + traverse this result pointer, or any function for result tables, + such as mysql_fetch_array. The database parameter is the name of the @@ -34,7 +34,7 @@ deprecated however and is not recommended. - mysql_list_tables Example + <function>mysql_list_tables</function> example - + @@ -19,6 +19,9 @@ as well as an integer index and returns the name of a table. The mysql_num_rows function may be used to determine the number of tables in the result pointer. + Use the mysql_tablename function to + traverse this result pointer, or any function for result tables, + such as mysql_fetch_array. <function>mysql_tablename</function> Example