cubrid_real_escape_string
This function returns the escaped string version of the given string. It will escape the following characters: '. In general, single quotations are used to enclose character string. Double quotations may be used as well depending on the value of ansi_quotes, which is a parameter related to SQL statement. If the ansi_quotes value is set to no, character string enclosed by double quotations is handled as character string, not as an identifier. The default value is yes. If you want to include a single quote as part of a character string, enter two single quotes in a row.
Parameters
- unescaped_string
The string that is to be escaped.
- conn_identifier
The CUBRID connection. If the connection identifier is not specified, the last connection opened by cubrid_connect is assumed.
Return Values
Escaped string version of the given string, on success.
false on failure.