title: How to load module in my own created library codeigniter
body: <pre><code> class Mylib
   {
      function show_lib()
      {
  
         $obj=&amp; get_instance();
         $obj-&gt;load-&gt;module(‘login_check’);
         $var=$obj-&gt;login_check-&gt;get_all_table_data();
         print_r($var);
      }
   }
  </code></pre>
  
  <p>ERROR:-
  Fatal error: Call to undefined method CI_Loader::module()</p>