-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
smf_db_remove_column
Description
Drops the specified column from the specified table.
Syntax
bool smf_db_remove_column (string $table_name, string $column_name[, array $parameters[, string $error]])
Parameter $table_name
Expected type: String
Description: Name of the table that we want to drop the column from
Parameter $column_name
Expected type: String
Description: Name of the column we want to drop
Parameter $parameters
Expected type: Array
Description: Array of parameters
Array Elements of $parameters Key Optional Expected type Description no_prefix yes Boolean If true, SMF won't add the db prefix to the table name
Parameter $error
Expected type: Enumerated String
Description: Error parameter
Possible string values Allowed values Description 'fatal' Fatal error
Return value
Expected type: Boolean
Description: True if the column was dropped successfully, false if it doesn't exist
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.036 seconds with 13 queries.
- Forum Search