Re: [PHP-DB] multiple connections to MySQL in a single script example

2003-03-30 Thread Doug Thompson
You will use the mysql_select_db() function. It sets the currently active database. You will call this function each time you wish to change which database is being used prior to issuing a query. You need to open only one connection as long as the databases are on the same server. If you

[PHP-DB] multiple connections to MySQL in a single script example

2003-03-29 Thread Lonnie Cumberland
Hello All, I am new to using PHP with MySQL and was wondering if anyone had a simple example of how to have multiple active connections to two MySQL databases in a single script? I will have to access two different databases but am not sure how to keep the active connections and make different