db_list_database_tables

array db_list_database_tables (void)

Lists the tables that exist in the current database.

Arguments

None.

Result

The function returns an array of the existing tables or NULL if no table is found.

Example

// Get my tables from database

$mytables = db_list_database_tables();


See also

Database functions
Database support