Welcome Guest, Not a member yet? Register   Sign In
Test database
#2

[eluser]Eric Barnes[/eluser]
If you are autoloading it then you would have to do something like:
Code:
$DB2 = $this->load->database('group_two', TRUE);

Then use:
Code:
$DB2->query();

Another way could be to load the db through a MY_Controller and then hook into router to see what method you are in. I guess the bigger question is why you would want to do that. Smile


Messages In This Thread
Test database - by El Forum - 01-28-2011, 11:16 PM
Test database - by El Forum - 01-28-2011, 11:19 PM
Test database - by El Forum - 01-28-2011, 11:31 PM
Test database - by El Forum - 01-28-2011, 11:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB