PHP » GoLang |
login |
register |
about
|
GoLang MysqlndUhConnection::escapeString
request it (285)
GoLang replacement for PHP's MysqlndUhConnection::escapeString
[edit | history]
PHP MysqlndUhConnection::escapeStringPHP original manual for MysqlndUhConnection::escapeString [ show | php.net ]MysqlndUhConnection::escapeString(PECL mysqlnd-uh >= 1.0.0-alpha) MysqlndUhConnection::escapeString — Escapes special characters in a string for use in an SQL statement, taking into account the current charset of the connection Description
public string MysqlndUhConnection::escapeString
( mysqlnd_connection
$connection
, string $escape_string
)Escapes special characters in a string for use in an SQL statement, taking into account the current charset of the connection. Parameters
Return ValuesThe escaped string. Examples
Example #1 MysqlndUhConnection::escapeString() example
<?php The above example will output: proxy::escapeString(array ( 0 => NULL, 1 => 'test0\'test', )) proxy::escapeString returns 'test0\\\'test' See Also
|
more
Recently updated
more
Most requested
more
Last requests
|