title: How to load class/library in CodeIgniter?
body: <p>I have a library called <strong>lib</strong>, which contains a class called <strong>nusoap.php</strong>. I have put lib inside the folder <strong>application/libraries/</strong>. </p>
  
  <p>When I try to load it, I'm getting the following error:</p>
  
  <pre><code>An Error Was Encountered
  Unable to load the requested class: nusoap
  </code></pre>
  
  <p>This the code I use to load it</p>
  
  <pre><code>class Dealership extends Controller
  {
      function Dealership()
      {
          parent::Controller();
          $this-&gt;load-&gt;library('nusoap.php');         
      }
  
  }
  </code></pre>
  
  <p>Am I missing anything?</p>
  
  <p>Thanks for helping</p>