db_table_structure

From Online Manual

Jump to: navigation, search

Usage:

$smcFunc['db_table_structure'] (table_name)


Description: This function returns the structure of a table.

Parameters:

  • table_name (string) the name of an existing table.

Return: (array) an array with table name, columns, and indexes.