Hi!
I connecting the postgreSQL database through the following code:
<?
$conn=pg_connect("<IP address>","<port>","","","<database>");
$index=pg_exec($conn,"select * from table1");
?>
On execution of this code from the browser, following error appears :
Warning: PostgresSQL query failed: ERROR: table1: Permission denied. in
/home/httpd/html/script.php3 on line 8
Where am I going wrong? Does the code have a problem or there is something
wrong with the permissions.
Please help me out.
Thanks
Pragati