Welcome Guest, Not a member yet? Register   Sign In
Two Databases

I searched a bit but didn't find anything. Maybe I used the wrong search string. Anyway, I have phpbb set up and I am writing an app to sit along side the forums for a site. I want to utilize member info from the forum memberships but I don't want to store my app data in the same database.

Is there a way to manager 2 seperate db connections in code igniter?


Ok, I looked at the docs again and I may have just figured it out. I should be able to use $active_group to specify which db I need. So in my login controller I can specify something like:


And then in controllers that deal with my own db I can set it to that?

And I just found the *real* answer:


Theme © iAndrew 2016 - Forum software by © MyBB