From: Ron Piggott on
Does mysql_close() close all open database connections?

How would I specify which connection to close?

Ron
From: "Patrick Price" on
According to php.net, if you don't specify a link iedentifier it closes the last nonpersistent connection.  

http://us3.php.net/mysql_close


Patrick


-- Sent from my Palm Pre
Ron Piggott wrote:

Does mysql_close() close all open database connections?



How would I specify which connection to close?



Ron


From: Ron Piggott on
Guys thanks for your help.

When I went back to my code I figured out what threw me off: I only used
one database connection to begin with ... I had created a user that
exists on the two databases for the part of the application I am
writing. I forgot about this.

Thanks!

Ron

-----Original Message-----
From: pretzlaw(a)mail.uni-paderborn.de
Reply-to: pretzlaw(a)mail.uni-paderborn.de
To: ron.php(a)actsministries.org
Subject: Re: [PHP-DB] mysql_close()
Date: Sat, 20 Feb 2010 22:48:22 +0100


http://php.net/manual/en/function.mysql-close.php

On 20.02.2010 22:27, Ron Piggott wrote:
> Does mysql_close() close all open database connections?
>
> How would I specify which connection to close?
>
> Ron
>