title: why insert query is not working in laravel 5
body: <p>I am new to Laravel 5 and MVC. I can not figure out why is my INSERT query not running but JUST directing me to search page. below is my code. </p>
  
  <p>edit: the database connection is  proper and I can view data on page via same database</p>
  
  <p><div class="snippet" data-lang="js" data-hide="true">
  <div class="snippet-code snippet-currently-hidden">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>public function insert()
  {
  
  DB::table('patients')-&gt;insert(
  array('name' =&gt; 'fakhir', 'email' =&gt; 'hello@email.com')
  
    );
  return view('patients/search');
  }</code></pre>
  </div>
  </div>
  </p>