Re: Database connections
| From: | Chris | Date: | Fri, 31 Mar 2006 01:56:35 +0000 |
| Subject: | Re: Database connections | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232975@lists.php.net to get a copy of this message | ||
Jasper Bryant-Greene wrote:
Chris wrote:Only if you are using the same username/password, but you're right, it is an option. -- Postgresql & php tutorials http://www.designmagick.com/If they're accessing the same database you don't need to disconnect/reconnect. Different db's - well, yeh you don't have a choice.Of course you do. mysql_select_db() or whatever it's called. Or just issue a USE [databasename] query. No need to reconnect!