Welcome Guest, Not a member yet? Register   Sign In
Loading model using a different database
#6

If you look at the code I posted from the User's Guide you will see that they are
creating a new config array and then passing it into the load model.

Sounds like your trying to load the ones from the ./application/config/database.php

They are stating to create a new config array like above and then pass it to the model.

Which means you would need to do it twice for each database.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Loading model using a different database - by InsiteFX - 08-07-2018, 03:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB