title: Laravel update array syntax
body: <p>I'm having trouble doing a record update array via POST in Laravel.
  
  I have captured all the post data in an array cant update array achievement</p>
  
  <pre><code>&lt;form action="{{'updateapp'}}" method="post"&gt;
  &lt;table&gt;
  &lt;tr&gt;&lt;td&gt;
  &lt;input type="checkbox" class="id" name="id[]" value="{{ $quarter-&gt;id }}" /&gt;
  &lt;input type="text" name="achv[]" value="{{ $quarter-&gt;achievement }}"&gt;
  &lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Controller :</p>
  
  <pre><code>public function foo(Request $request)
  {
      $ids = $request-&gt;id;
      $achvs = $request-&gt;achv;
      DB::table('quarters')-&gt;whereIn('id', $ids)
      -&gt;update(array(['achievement' =&gt; $achvs ]));   
  
      return redirect('evaluator');      
    }
  </code></pre>