|
PHP5中文手册
dbx_escape_string(PHP 4 >= 4.3.0, PHP 5 <= 5.0.5, PECL dbx:1.1.0) dbx_escape_string — Escape a string so it can safely be used in an sql-statement 说明
string dbx_escape_string
( object $link_identifier
, string $text
)
Escape the given string so that it can safely be used in an sql-statement. 返回值Returns the text, escaped where necessary (such as quotes, backslashes etc). On error, NULL is returned. 范例
Example#1 dbx_escape_string() example
<?php |