| Versionen | |
|---|---|
| drupal6 | db_escape_table( |
| drupal7 | db_escape_table($table) |
Restrict a dynamic table, column or constraint name to safe characters.
Only keeps alphanumeric and underscores.
$table The table name to escape.
The escaped table name as a string.
includes/
<?php
function db_escape_table($table) {
return Database::getConnection()->escapeTable($table);
}
?>
Kommentare
Kommentar hinzufügen