Re: Connecting to more than 2 databases from a single PHP script.
| From: | Chris | Date: | Thu, 16 Aug 2007 06:44:48 +0000 |
| Subject: | Re: Connecting to more than 2 databases from a single PHP script. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-43911@lists.php.net to get a copy of this message | ||
Suamya Srivastava wrote:
Hello, In a single PHP code, I want to connect to two mysql databases with totally different authentication information. Is it possible?See http://php.net/mysql_connect - you need to set 'new_link' to true in the mysql_connect call. -- Postgresql & php tutorials http://www.designmagick.com/