Re: connection to database
| From: | Yasuo Ohgaki | Date: | Thu, 12 Apr 2001 04:30:21 +0000 |
| Subject: | Re: connection to database | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8512@lists.php.net to get a copy of this message | ||
PHP takes care of closing it, just like other resources. However, it seems there
is bug in closing none persistent PgSQL link in current version. 4.0.5 hopefully
fix this.
Regards,
--
Yasuo Ohgaki
"Sharmad Naik" <sharmad@goatelecom.com> wrote in message
news:20010412002845.A1151@goatelecom.com...
> Hi,
> While writing dynamic pages I use pg_connect to connect to the database.
> I wanted to know whether i alway need to close database connection or while
> closing the FORM or going to another page does the connect close
automatically.
> Is pg_close necessary to be given ?
>
> --
> The secret of the universe is @*&í!'ñ^#+ NO CARRIER
> __ _ _ _ _
> |_|_||_||_||\/||_|| \
> _|| || || \| || ||_/
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>