(PECL ibm_db2 >= 1.6.0)
Used to escape certain characters
string db2_escape_string ( string $string_literal )
Prepends backslashes to special characters in the string argument.
Parameters:
string_literal
The string that contains special characters that need to be modified. Characters that are prepended with a backslash are \x00, \n, \r, \, ', " and \x1a.