Welcome Guest, Not a member yet? Register   Sign In
Multiple Database Connection Question
#1

[eluser]Tom Schlick[/eluser]
ok, i need to connect to multiple databases... i have read the user guide but i have a question about it...

if i do connect to two databases calling them DB1 & DB2 do i have to call $DB1->query if DB1 is my default connection? i know i will have to with DB2 but since CI already loads it will there be any miscommunication if i just call $this->db for DB1?

thanks in advance
#2

[eluser]Tom Schlick[/eluser]
oops i just realized i posted this in the wrong forum yesterday! would an admin be so kind to move it over to the correct forum




Theme © iAndrew 2016 - Forum software by © MyBB