mysql_list_tables

(PHP 3, PHP 4 >= 4.0.0)

mysql_list_tables -- List tables in a MySQL database

Description

resource mysql_list_tables ( string database [, resource link_identifier])

mysql_list_tables() takes a database name and returns a result pointer much like the mysql_db_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.

For downward compatibility mysql_listtables() can also be used. This is deprecated however.