title: Codeigniter : Cant load database in my library.
body: <p>When I try to call <br></p>
  
  <pre><code>$this-&gt;load-&gt;database();
  </code></pre>
  
  <p>yields the following error `"Call to a member function database() on a non-object"
  <br>
  Autoloading the database doesnt help too...<br>
  when I try to autoload it. <br>
  all calls to database like <br></p>
  
  <pre><code>$this-&gt;db-&gt;get('people');
  </code></pre>
  
  <p>it says get method is undefined...
  <br> I have no clue what and where to start..<br>\
  anyone ?</p>