Re: Multiple databases
| From: | nuitari at darklands dot cx | Date: | Wed, 20 Dec 2000 23:18:37 +0000 |
| Subject: | Re: Multiple databases | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5376@lists.php.net to get a copy of this message | ||
"Julio Cuz, Jr." wrote:
>
> Hi--
>
> I'm using PHP 4 and MSSQL 7.
>
> I connect to a couple databases at the same time, but everytime I try to
> get info FROM one of them, I have to do the mssql_query. In other words,
> when I switch from database A to database B, and then back to A, I have to
> re-attach....is there a way to make only ONE connection to database A, ONE
> to Database B, etc., and not a connection each time?
I know that in mysql there is the mysql_db_query that allows you to
enter the database name as an argument.