• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] How do you connect to two databases cleanly ?

#1
[eluser]Morty[/eluser]
I am currently using CI with one, sometimes two databases.
However, I don't know how to call them properly.

ATM, I have one load call for each of my models' search. It works but I find it unsatisfying.

Where are we supposed to start the connection? is it in the model (logical) or in the controller?

I'd be interested to know how you create your connections for multiple databases.


Messages In This Thread
[SOLVED] How do you connect to two databases cleanly ? - by El Forum - 07-27-2007, 04:51 AM
[SOLVED] How do you connect to two databases cleanly ? - by El Forum - 07-29-2007, 05:57 PM
[SOLVED] How do you connect to two databases cleanly ? - by El Forum - 07-30-2007, 02:07 AM
[SOLVED] How do you connect to two databases cleanly ? - by El Forum - 08-01-2007, 01:59 AM
[SOLVED] How do you connect to two databases cleanly ? - by El Forum - 08-01-2007, 02:00 AM
[SOLVED] How do you connect to two databases cleanly ? - by El Forum - 08-01-2007, 02:50 AM
[SOLVED] How do you connect to two databases cleanly ? - by El Forum - 08-01-2007, 04:01 AM
[SOLVED] How do you connect to two databases cleanly ? - by El Forum - 08-01-2007, 04:25 AM
[SOLVED] How do you connect to two databases cleanly ? - by El Forum - 08-01-2007, 04:52 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.