Sanitize a table name for _a-zA-Z0-9
Usage
$string = $database->escapeTable(string $table);
Arguments
Name | Type(s) | Description |
---|---|---|
table | string | String containing table name |
Return value
string
Sanitized table name
$database methods and properties
API reference based on ProcessWire core version 3.0.236