PHP Codeigniter Class model not found
<p>I am trying to connect mssql and codeigniter and the result is:</p>

<p><strong>Fatal error: Class 'Pekerja_model' not found in C:\xampp\htdocs\CodeIgniter\system\core\Loader.php on line 188</strong></p>

<p>This my code<br>
<br>Model</p>

<pre><code>class Pekerja_model extends CI_Model {  
    function SomeMSSQLModel() {
        $this-&gt;_db = $this-&gt;load-&gt;database('mssql-group', TRUE);    
    }   

    function pekerja_model(){       
        parent::__construct(); 
    }    

    function pekerja_lihat(){
        $this-&gt;load-&gt;database('mssql-group', TRUE);         
        $query=get('');
        return $query-&gt;result();     
    } 
}
</code></pre>

<p>View</p>

<pre><code>foreach($query as $row)
    echo $row['nama'];
</code></pre>

<p>Controller</p>

<pre><code>class pegawai extends CI_Controller{

    function __construct(){
        parent::__construct();
    }

    function getall(){
        $this-&gt;load-&gt;model('Pekerja_model');
        $data['query']=$this-&gt;load-&gt;Pekerja_model-&gt;pekerja_lihat();
        $this-&gt;load&gt;view('getall',$data);   
    }   
}
</code></pre>

<p>thank you </p>
