vijdev Posted May 1, 2010 Share Posted May 1, 2010 how to connect to multiple databases in one php script and keeping both open? Link to comment https://forums.phpfreaks.com/topic/200359-how-to-connect-to-multiple-databases-in-one-php-script/ Share on other sites More sharing options...
vijdev Posted May 1, 2010 Author Share Posted May 1, 2010 to clarify: single connection multiple DB scenario. Link to comment https://forums.phpfreaks.com/topic/200359-how-to-connect-to-multiple-databases-in-one-php-script/#findComment-1051464 Share on other sites More sharing options...
trq Posted May 1, 2010 Share Posted May 1, 2010 mysql_connect returns a connection resource. Simply store each connection resource in there own unique variable. Link to comment https://forums.phpfreaks.com/topic/200359-how-to-connect-to-multiple-databases-in-one-php-script/#findComment-1051479 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.