function db_escape_table

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 database.inc db_escape_table($table)
cle7 database.inc db_escape_table($table)
elmsmedia7 database.inc db_escape_table($table)
icor7 database.inc db_escape_table($table)
meedjum_blog7 database.inc db_escape_table($table)
mooc7 database.inc db_escape_table($table)

Restricts a dynamic table name to safe characters.

Only keeps alphanumeric and underscores.

Parameters

$table: The table name to escape.

Return value

The escaped table name as a string.

Related topics

11 calls to db_escape_table()
backup_migrate_destination_db_mysql::_lock_tables in sites/all/modules/ulmus/backup_migrate/includes/destinations.db.mysql.inc
Lock the list of given tables in the database.
DataHandler::load in sites/all/modules/local_contrib/data/includes/DataHandler.inc
Load a record.
DataHandler::truncate in sites/all/modules/local_contrib/data/includes/DataHandler.inc
Empty data table.
DataTable::__construct in sites/all/modules/local_contrib/data/includes/DataTable.inc
Constructor. Do not call directly, but use DataTable::instance($name) instead.
data_safe_name in sites/all/modules/local_contrib/data/data.module
Create a safe name for MySQL field or table names.

... See full list

File

includes/database/database.inc, line 2566
Core systems for the database layer.

Code

function db_escape_table($table) {
  return Database::getConnection()->escapeTable($table);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.