-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
smf_db_list_tables
Description
Fetches a list of tables in the database
Syntax
array smf_db_list_tables ([string $db[, string $filter]])
Parameter $db
Expected type: String
Description: If specified, SMF will look for tables in this database instead of its own database
Parameter $filter
Expected type: String
Description: Returns only tables matching this pattern (ie "LIKE $filter"), otherwise lists all tables in the database
Return value
Expected type: Array
Description: An array of table names
Notes
- Lists tables from the database in Settings.php unless $db is specified
- If $filter is specified, the function will only get a list of tables matching the specified filter (ie "LIKE $filter")
- Returns an array of table names
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.121 seconds with 13 queries.
- Forum Search