• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
controller db

#1
[eluser]Captain_Fluffy_Pants[/eluser]
how do i include a the database from path "application/config" in a controller?
is it
this:
Code:
$this->db->config('database');
this:
Code:
$this->include('database');
this:
Code:
$this->load->config('database');
this:
Code:
$this->load->database('group_name');
or this:
Code:
$this->config('database');



Messages In This Thread
controller db - by El Forum - 09-22-2012, 10:14 AM
controller db - by El Forum - 09-22-2012, 10:27 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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