title: $this->load->model() not working in CodeIgniter
body: <p>I'm using CodeIgniter 2.1.2 and here's my situation right now. I have a model named math.php in <code>C:\wamp\www\cr8v\application\models</code>. I am trying to load this in my controller from <code>C:\wamp\www\cr8v\application\controllers\site.php</code> yet I am getting this error:</p>
  
  <blockquote>
    <p>Unable to locate the model you have specified: math_model</p>
  </blockquote>
  
  <p>Here's the content of <code>math.php</code>:</p>
  
  <pre><code> &lt;?php
      class Math_model extends CI_Model(){
          public function add(){
              return 1+1;
          }
      }
   ?&gt;
  </code></pre>
  
  <p>And here's the content of my <code>site.php</code>:</p>
  
  <pre><code>&lt;?php
      class Site extends CI_Controller{
          public function index(){
              $this-&gt;addstuff();
          }
  
          public function addstuff(){
              $this-&gt;load-&gt;model("math_model");
              echo $this-&gt;math-&gt;add();
          }
      }  
  ?&gt;
  </code></pre>
  
  <p>I followed this in a tutorial in YouTube. Yet, it doesn't give me my desired output. I've tried Googling about it and read other related questions with this, however those information are not enough.</p>
  
  <p>I have read <a href="http://stackoverflow.com/q/8074368">this</a> just a while ago.</p>
  
  <p>Now I have the following error:</p>
  
  <pre><code>( ! ) Parse error: syntax error, unexpected '(', expecting '{' in C:\wamp\www\cr8v\application\models\math_model.php on line 2
  Call Stack
  #   Time    Memory  Function    Location
  1   0.0036  148768  {main}( )   ..\index.php:0
  2   0.0062  185072  require_once( 'C:\wamp\www\cr8v\system\core\CodeIgniter.php' )  ..\index.php:202
  3   0.0561  784312  call_user_func_array ( )    ..\CodeIgniter.php:359
  4   0.0561  784360  Site-&gt;index( )  ..\CodeIgniter.php:359
  5   0.0561  784376  Site-&gt;addstuff( )   ..\site.php:4
  6   0.0561  784504  CI_Loader-&gt;model( ) ..\site.php:8
  </code></pre>