I created an application using two mysql database. My application is used by many people with connections of different databases.
How do I can change the database connection for each distribution package my application, dynamically? Could it be done by changing just one file?
Because it is too complicated, if I change the database connection for each distribution package my application, through the application PHPRunner.
I've read the tutorial on the following link:
www.asprunner.com/forums/topic/17297-dynamically-setting-the-db-connection/
However, there is only discussed how to connect one database only, dynamically. While on my application uses two database connections.
Thank you very much for your help.