my problem occors when you try to connect to the data base with "pg_connect" this is what I have so far
$conn = pg_connect("host="localhost" port="5432" user=Scotty password=password dbname=database");
it connects correctly I know this by when I run my select statement further down the doc. The problem occurs when I change the password to a invalid one and still works, BUT if I change either the database name or the username, it will fail.
please help me also please take the time to also look at my other thread, im having problems with passing my variables.
Scotty