update : 2015.11.03
php.shukuma.com검색:
|
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 설명
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. 인수
반환값The escaped string. 예제
Example #1 MysqlndUhConnection::escapeString() example
<?php 위 예제의 출력: proxy::escapeString(array ( 0 => NULL, 1 => 'test0\'test', )) proxy::escapeString returns 'test0\\\'test' 참고
|