PHP Manual
Prev |  | Next

# mysql_list_tables

mysql_list_tables -- List tables in a MySQL database

## Description

`int mysql_list_tables`(string database, int [link_identifier] );

mysql_list_tables() takes a database name and returns a 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.

Prev | Home | Next
mysql_list_dbs | Up | mysql_num_fields