SQLite3
PHP Manual

SQLite3::escapeString

(No version information available, might be only in CVS)

SQLite3::escapeString ? Returns a string that has been properly escaped

説明

public string SQLite3::escapeString ( string $value )

Returns a string that has been properly escaped for safe inclusion in an SQL statement.

パラメータ

value

The string to be escaped.

返り値

Returns a properly escaped string that may be used safely in an SQL statement.

例1 SQLite3::escapeString() example

<?php
/* ... */
?>

上の例の出力は、たとえば 以下のようになります。

...


SQLite3
PHP Manual