Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » SQL Anywhere サーバ - プログラミング » SQL Anywhere データ・アクセス API » SQL Anywhere PHP API » SQL Anywhere PHP API リファレンス

 

sasql_real_escape_string

プロトタイプ
string sasql_real_escape_string( sasql_conn $conn, string $str )
説明

指定された文字列内の特殊文字をすべてエスケープします。エスケープされる特殊文字は、\r、\n、'、"、;、\、および NULL 文字です。

パラメータ

$conn   接続関数から返される接続リソース。

$string   エスケープする文字列。

戻り値

エスケープされた文字列。エラーの場合は FALSE。

関連する関数