sasql_real_escape_string

Prototype
string sasql_real_escape_string( sasql_conn $conn, string $str )
Description

Escapes all special characters in the supplied string. The special characters that are escaped are \r, \n, ', ", ;, \, and the NULL character.

Parameters

$conn   The connection resource returned by a connect function.

$string   The string to be escaped.

Returns

The escaped string or FALSE on error.

Related functions