Hi,
I am using the following code to connect to my database.
<?
$db = pg_connect("dbname=friends");
echo pg_dbname();
?>
But there is nothing displayed on the screen when I try it on my browser.
I use apache 4.3.9, redhat and postgresql 7.4.6. What am I doing wrong?