smf_db_backup_table
Description
Creates a backup of a table with the specified name.
Syntax
bool smf_db_backup_table (string $table, string $backup_table)
Parameter $table
Expected type: String
Description: The name of the table you wish to create a backup of
Parameter $backup_table
Expected type: String
Description: The name of the table to use as the backup table
Return value
Expected type: Boolean
Description:
Notes
- This function is used for $smfFunc['db_backup_table'] when you're using MySQL
- Function should never be called directly
- Attempts to drop the backup table first
- Returns true if successful or dies with an error if not successful (see smf_db_query()).