Is there PHP mysql_real_escape_string for postgresql? if yes then how ? please Give the Examples? & also the work of this string
See pg_escape_string at http://www.php.net/manual/en/function.pg-escape-string.php.
pg_escape_string