Skip to content

Kirby 4.4.1

$database->escape()

Escapes a value to be used for a safe query NOTE: Prepared statements using bound parameters are more secure and solid

$database->escape(string $value): string

Parameters

Name Type Default
$value * string

Return type

string

Parent class

Kirby\Database\Database