Welcome Guest, Not a member yet? Register   Sign In
load->database not working
#2

Have you tried setting the second parameter to TRUE?
PHP Code:
$db1 $this->load->database('opentimes'TRUE); 

This allows you to connect to multiple databases simultaneously. Without the second parameter, $this->load->database() is likely returning FALSE because you're already connected to a database (probably via autoload).
Reply


Messages In This Thread
load->database not working - by edhrx - 08-19-2015, 01:15 AM
RE: load->database not working - by mwhitney - 08-19-2015, 07:40 AM
RE: load->database not working - by edhrx - 08-20-2015, 07:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB