Bluz\Db\Db::quote
Quotes a string for use in a query
Example of usage <code> $db->quote($_GET['id']) </code>
Signature
public function quote(string
$value,
[int
$type = PDO::PARAM_STR] )
Parameters
$value
— string$type
— int
Returns
- string