db_remove_column

From Online Manual

Jump to: navigation, search

Usage:

$smcFunc['db_remove_column'](table_name, column_name, parameters, error)


Description: This function removes a column.

Parameters:

  • table_name (string) the name of an existing table
  • column_name (string) the name of the column that should be removed.
  • parameters (array) deprecated as of 2.0 RC3, leave empty
  • error (string) deprecated, leave empty

Return: (bool) true if the column is successfully removed, false otherwise.