title: Multi selection bootstrap insert in database Laravel
body: <p>I'm trying to create multi selection bootstrap output to save in database but I'm getting an array in my controller like <code>["6","7"]</code>. How I can save this?</p>
  
  <p>There is 2 selection that means 2 row must created.</p>
  
  <p>The query I was trying:</p>
  
  <pre class="lang-php prettyprint-override"><code>$table = Pool_user::updateOrInsert(['pool_id' =&gt; [$string1], 'user_id' =&gt; $request['id']]);
  </code></pre>
  
  <p>Can anyone help me to solve this?</p>