PHP3 Manual
PrevNext

mysql_list_tables

mysql_list_tables -- list tables in a MySQL database

Description

int mysql_list_tables(string database);

mysql_list_tables() takes a database name and result pointer much like the mysql_db_query() function. The mysql_tablename() function should be used to extract the actual table names from the result pointer.

For downward compatibility mysql_listtables() can also be used.


PrevHomeNext
mysql_list_dbsUpmysql_num_fields