mysql_list_tables(db_name[, link_id ])
This function returns a result set containing a list of the tables in the specified database (db_name) from the current or specified (link_id) MySQL connection. Use mysql_tablename to retrieve the individual table names from this result set.
The function name mysql_listtables may also be used, but is deprecated.