Independent database

#4
[eluser]wiredesignz[/eluser]
Yes, you can load the database object into your own variable.
Code:
$db = $this->load->database($params, TRUE);  

// $params = DSN string or name of config/database.php settings array


Messages In This Thread
Independent database - by El Forum - 04-03-2008, 04:16 PM
Independent database - by El Forum - 04-03-2008, 04:53 PM
Independent database - by El Forum - 04-03-2008, 05:09 PM
Independent database - by El Forum - 04-03-2008, 05:27 PM
Independent database - by El Forum - 04-03-2008, 05:34 PM
Independent database - by El Forum - 04-03-2008, 05:56 PM
Independent database - by El Forum - 04-03-2008, 06:00 PM
Independent database - by El Forum - 04-03-2008, 06:41 PM
Independent database - by El Forum - 04-03-2008, 07:41 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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