title: how to use laravel4 resource controller to save data into database without Eloquent ORM?
body: <p>Code in resource controller:</p>
  
  <pre><code>public function create()
  {
      return View::make("register");
  }
  
  
  public function store()
  {
      Usr::insert_data();
  }
  </code></pre>
  
  <p>Code in the model file, i do not want to use Eloquent ORM: </p>
  
  <pre><code>class Usr {
      public static function insert_data() {
          DB::insert('insert into user (name, password) values(?, ?)', array("john", "123456789"));
      }
  }
  </code></pre>
  
  <p>I try to save data into database, but after i click the submit button, it shows 500 internal Server Error. </p>
  
  <p>I searched how to use resource controller on the internet, but all tutorials use Eloquent ORM for the model. Must we use Eloquent ORM model for resource controller? </p>