PostgreSQL and PHP3

wxdqz

New Member
I'm trying to set up an on-line database on my server for an inventory-type system. PHP is installed and working properly, and from everything I've seen and done so far, so is PostgreSQL (I've created the database, created tables and added records to the tables). Now I put some PHP code into my webpage so that I could see some of the records on a web page, but when I accessed the web page, the page appeared and only showed the HTML code that I had entered for the title and field headings. Above the field headings, I got this error:

Fatal error: Call to unsupported or undefined function pg_connect() in /home/httpd/html/eparts/eparts.php3 on line 21

I get the impression that PostgreSQL isn't installed properly, but it was installed when I installed the server and I have never had a problem using any of the commands and such.

Could anyone tell me what could be causing this and perhaps a way to fix it?

Thanks,
Mike
 
Back
Top