Can't select database using extended controller. regular controller works. |
[eluser]CroNiX[/eluser]
Ah, the problem is in how you are trying to load multiple databases. You can't just switch it like that. See how they do it in the Connecting to Multiple Databases part. $this->db will be your default db as declared in the database config file, and in MY_Controller you can create a $this->db_wo connection or whatever for your 2nd, or if you aren't using it in many places just where you need it. |
Welcome Guest, Not a member yet? Register Sign In |