PHP » GoLang |
login |
register |
about
|
GoLang cubrid_real_escape_string
request it (636)
GoLang replacement for PHP's cubrid_real_escape_string
[edit | history]
cubrid_real_escape_string(PECL CUBRID >= 8.3.0) cubrid_real_escape_string — Escape special characters in a string for use in an SQL statement Description
string cubrid_real_escape_string
( string
$unescaped_string
[, resource $conn_identifier
] )
This function returns the escaped string version of the given string. It
will escape the following characters: Parameters
Return ValuesEscaped string version of the given string, on success.
ExamplesExample #1 cubrid_real_escape_string() example
<?phpThe above example will output:
array(1) {
["t"]=>
string(95) " !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
}
|
more
Most requested
more
Last requests
|