Home > PHP > Function > > db2_escape_string()

db2_escape_string()

db2_escape_string - Used to escape certain characters

Syntax

string db2_escape_string ()

Arguments

-

Description

Prepends backslashes to special characters in the string argument.

Version

PHP PECL ibm_db2 >= 1.6.0

Return value

Returns string_literal with the special characters noted above prepended with backslashes.