db_escape_table
- Versions
- 4.7 – 6
db_escape_table($string)- 7
db_escape_table($table)
Restrict a dynamic table, column or constraint 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
Code
includes/database/database.inc, line 2232
<?php
function db_escape_table($table) {
return Database::getConnection()->escapeTable($table);
}
?>Login or register to post comments 