Home > PHP > Function > > ingres_escape_string()

ingres_escape_string()

ingres_escape_string - Escape special characters for use in a query

Syntax

string ingres_escape_string (resource $link, string $source_string)

Arguments

  • link - The connection link identifier
  • source_string - The source string to be parsed

Description

ingres_escape_string() is used to escape certain characters within a string before it is sent to the database server.

Version

PHP PECL ingres >= 2.1.0

Return value

Returns a string containing the escaped data.