Welcome Guest, Not a member yet? Register   Sign In
Site online with db offline
#5

Where should I put this code?

Because this two variable
DB1 = $this->load->database('group_one', TRUE);
$DB2 = $this->load->database('group_two', TRUE);

I am declared whenever I need that the connection is open. Not only once in a file.
Reply


Messages In This Thread
Site online with db offline - by StratoKyke - 11-12-2015, 04:46 PM
RE: Site online with db offline - by mwhitney - 11-13-2015, 09:44 AM
RE: Site online with db offline - by StratoKyke - 11-13-2015, 09:57 AM
RE: Site online with db offline - by mwhitney - 11-13-2015, 10:46 AM
RE: Site online with db offline - by StratoKyke - 11-13-2015, 11:00 AM
RE: Site online with db offline - by mwhitney - 11-13-2015, 11:24 AM
RE: Site online with db offline - by StratoKyke - 11-13-2015, 11:50 AM
RE: Site online with db offline - by mwhitney - 11-13-2015, 12:08 PM
RE: Site online with db offline - by StratoKyke - 11-13-2015, 12:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB