Page 1 of 1

Page not shown when I try to connect to postgres

Posted: Thu Dec 02, 2004 3:25 am
by elbomberotorero
Hello,

this is the problem, I have a Linux server with postgres, php with the postgres module and apache. When I make I page which incluedes some querys to the database, the page doesn't show, even if I write only one "echo" and one pg_connect (I mean, only one file with theses two lines inside the <body>).

I also have phpPgAdmin installed and I can access the database without any problems as well as if I only write in one file one "echo" without any database connection, it works properly.

Thanks in advance.

Posted: Thu Dec 02, 2004 4:55 am
by CoderGoblin
Give us some code samples to help you out. If you do a view source of the blank page I would guess you get simply <html></hml> which means you have a php error in your code.

Always give us as precise information (not 1000 lines of code) to help us help you.