mysql_list_tables
List tables in a MySQL database
Description
resourcemysql_list_tables
stringdatabase
resource
link_identifier
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.
The database parameter is the name of the
database to retrieve the list of tables from. Upon failure,
mysql_list_tables returns &false;.
For downward compatibility, the function alias named
mysql_listtables can be used. This is
deprecated however and is not recommended.
mysql_list_tables Example
]]>
See also: mysql_list_dbs,
and mysql_tablename.