Re: Connecting to more than 2 databases from a single PHP script.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux