mysql_list_tables 列出 MySQL 数据库中的表 &mysql.alternative.note.4-3-0; SQL Query: SHOW TABLES FROM dbname &reftitle.description; resourcefalsemysql_list_tables stringdatabase resourcelink_identifier 列出 MySQL 数据库中的表。 此函数已废弃。推荐使用 mysql_query 来执行 SQL SHOW TABLES [FROM db_name] [LIKE 'pattern'] 来实现同样的操作。 &reftitle.parameters; database 数据库名称 &mysql.linkid.description; &reftitle.returnvalues; 成功时返回结果指针 resource &return.falseforfailure;。 可以使用 mysql_tablename 函数来遍历该结果指针,或者使用任何针对表操作的函数,类似 mysql_fetch_array &reftitle.examples; <function>mysql_list_tables</function> 例子 ]]> &reftitle.notes; &info.deprecated.alias; mysql_listtables &reftitle.seealso; mysql_list_dbs mysql_tablename