How to connect two different Database in a PHP Class – Simple Script

Sometimes you may need to connect two different databases for a project and you may feel difficult to do that right?.

Don’t worry it’s really simple if you are using a PHP Class in your project.


private static function _connectDB1()