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/
cis7 db_escape_table($table)
cle7 db_escape_table($table)
elmsmedia7 db_escape_table($table)
icor7 db_escape_table($table)
meedjum_blog7 db_escape_table($table)
mooc7 db_escape_table($table)

Restricts a dynamic table name to safe characters.

Only keeps alphanumeric and underscores.


$table: The table name to escape.

Return value

The escaped table name as a string.

Related topics

2 calls to db_escape_table()
backup_migrate_destination_db_mysql::_lock_tables in sites/all/modules/ulmus/backup_migrate/includes/
Lock the list of given tables in the database.
DrupalDatabaseCache::getMultiple in includes/
Implements DrupalCacheInterface::getMultiple().


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


function db_escape_table($table) {
  return Database::getConnection()->escapeTable($table);