You are here: Re: Open db connection « PHP Programming Language « IT news, forums, messages
Re: Open db connection

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация