Welcome Guest, Not a member yet? Register   Sign In
Yet another multi database issue..
#2

[eluser]danmontgomery[/eluser]
It's already connected to one DB, you can't use $this->load->database() to close one connection and establish another on the same $this->db object (Generally speaking, when you call $this->load, the loader checks to see if the object exists already, to prevent loading resources multiple times).

So, you shouldn't have a problem if you just don't load the first database initially, otherwise you would have to use the $this->alt_db method.


Messages In This Thread
Yet another multi database issue.. - by El Forum - 10-15-2010, 03:21 PM
Yet another multi database issue.. - by El Forum - 10-15-2010, 03:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB