Re: [PHP-DB] Close Postgresql Database Connection Problem !

2001-08-15 Thread Grant Johnson
Perrin wrote: > ==> $connection = pg_connect("$constr user='$USER' password='$PW'"); > > Actually It should be closed the connection after access finished, like that >pg_close(); > > ==> pg_close($connection); > > But if the user force to close the web page that means have not close the >con

[PHP-DB] Close Postgresql Database Connection Problem !

2001-08-15 Thread Perrin
Hi ! There are some confusion for me. Could you help me ? Suppose I write a program by php and connect the postgresql database through web page. If I use the providing API from PHP connect to postgresql database, like that pg_connect(); ==> $connection = pg_connect("$constr user='$USER