title: load 2 model in the same controller
body: <p>these my Controller</p>
  
  <pre><code>public function __construct() {
      parent::__construct();
      $this-&gt;load-&gt;model("/admin/m_mapel","m_mapel");
      $this-&gt;load-&gt;model("/admin/m_prestasi","m_prestasi");
  }
  public function index(){
      $data['mapel']=$this-&gt;m_mapel-&gt;get_mapel();
      $data['prestasi']=$this-&gt;m_prestasi-&gt;get_prestasi();
  
  }
  </code></pre>
  
  <p>it gives me an error</p>
  
  <blockquote>
    <p>Fatal error: Call to a member function get_prestasi() on a non-object in C:\xampp\htdocs\ppdb\application\controllers\c_pendaftaran.php on line 13</p>
  </blockquote>