title: How to insert where condition in mysql query laravel?
body: <p>I try to insert with code</p>
  
  <pre><code>$info = DB::table('role_user')-&gt;where('user_id', '=',$current)
  -&gt;where('role_id', '=',$id)-&gt;get();
  </code></pre>
  
  <p>error of insert</p>
  
  <pre><code>$response = $info-&gt;insert(array('active' =&gt; 1));
  </code></pre>