title: how to bring value from checkbox to controller laravel
body: <p>I'm doing a display page which display data from a table and there are 3 checkbox which user can check to represents as their choice. </p>
  
  <pre><code>&lt;tbody&gt;@foreach($data as $d)
  &lt;?php $choice = 0 ?&gt;
  &lt;tr&gt;
     &lt;td&gt;{{$d-&gt;domain_label}}{{$d-&gt;domain_extension}}&lt;/td&gt;
     &lt;td&gt;{{$d-&gt;domain_reg_date}}&lt;/td&gt;
     &lt;td&gt;&lt;input type="checkbox" name="choice[]" value="R"&gt;&lt;/td&gt;
     &lt;td&gt;&lt;input type="checkbox" name="choice[]" value="D"&gt;&lt;/td&gt;
     &lt;td&gt;&lt;input type="checkbox" name="choice[]" value="H"&gt;&lt;/td&gt;
     &lt;td&gt;&lt;a href="{{ URL::to('/postvalid2/'.$d-&gt;domain_label.'/'.$d-&gt;domain_extension)}}"&gt;&lt;button class="btn btn-success btn-xs" type="submit"&gt;Select&lt;/button&gt;&lt;/a&gt;&lt;/td&gt;
      &lt;/tr&gt;@endforeach
  </code></pre>
  
  <p>
  i've tried using form to display the value for checkbox and it's working. the problem with button is i cannot bring the correct value of domain_label and domain_extension through action.</p>