Lists the tables that exist in the current database.
array db_list_database_tables(void)
None.
The function returns an array of the existing tables or NULL if no table is found.
// Get my tables from database $mytables = db_list_database_tables();