Posted by BKDotCom on 08/07/07 04:53
On Aug 6, 11:41 pm, "Ben Sehara" <seh...@hotmail.com> wrote:
> Hi.
>
> I'm trying to close unnecessary db connection to reduce the concurrent
> connection. Is there any way I can find the open connection?
>
almost certainly..
however you didn't specify what type of db your using, or how you
opened the connection.
I'll venture to guess you want to see
http://www.php.net/function.mysql-close.php
this is unnecessary as it's closed when the script ends..
and note that mysql_connect() returns the connection resource... so
keep track of it.
[Back to original message]
|