dbx_escape_string()
dbx_escape_string - Escape a string so it can safely be used in an sql-statement
Syntax
string dbx_escape_string (
object $link_identifier,
string $text)
Arguments
- link_identifier - The DBX link object returned by dbx_connect()
- text - The string to escape.
Description
Escape the given string so that it can safely be used in an sql-statement.
Version
PHP 4.3.0, 5 <= 5.0.5, PECL dbx >= 1.1.0
Return value
Returns the text, escaped where necessary (such as quotes, backslashes etc). On error, NULL is returned.