Keith Darby's picture

How do i connect the php pages to the database?  -- this is what I'm trying

pg_connect("host=localhost port=5432 user=postgres password=pottery dbname=postgres")
        or die("could not connect to pg db");
how would I test to display the records on the table mailing_list_sources with fields id and name  ?

The PostgreSQL host configuration file /etc/postgresql/pg_hba.conf was not found on your system. Maybe PostgreSQL has not been initialised, or your module configuration is incorrect.

Add new comment