Fatal error: Call to undefined function pg_escape_string()

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
swraman
Forum Commoner
Posts: 58
Joined: Thu Nov 06, 2008 12:33 am

Fatal error: Call to undefined function pg_escape_string()

Post by swraman »

Fatal error: Call to undefined function pg_escape_string()

I get this error in a PHP app Im working on.

PHP was compiled to work with postgres, and I can connect to a postgresql server in PHP. I can run pg_connect(), and grab some pg server info, so I know php is configured right.

For some reason this one function doesnt work though.

Any help appreciated.

Thanks

Raman
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Fatal error: Call to undefined function pg_escape_string

Post by Eran »

Post Reply