sasql_escape_string

Prototype
string sasql_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.

Related functions