I studied using multiple databases with CodeIgniter. If I know that the databases are ahead of time, then I can set the information in the configuration file, and then call any database group that I need.
In my situation, however, I need to store this database information in another database. This is a kind of base database with general information about the client, including the database and credentials that are stored in the client data. This provider can add customers every time it wants, and share each customerโs data in different databases.
How can I set the database and credentials based on the values โโI return from the main database in CodeIgniter, or is there any way to do this?
Can someone point me in the right direction? Thanks in advance for any advice.
spacemunkee
source share