title: Laravel multiple delete checkbox?
body: <p><strong>I want to delete only checked tasks. At the moment I have this:</strong></p>
  
  <pre><code>&lt;form method="POST" action="/destroy"&gt;
  @foreach($tasks as $t)
  &lt;label&gt;            
  &lt;input type="checkbox" name="checked[]" value="$t-&gt;id"&gt;                    
  &lt;/label&gt; 
    @endforeach  
  &lt;button type="submit"&gt;Submit!&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p><strong>This is my Controller</strong></p>
  
  <pre><code>public function destroy(Request $request)
      {
          $this-&gt;validate($request, [
              'checked' =&gt; 'required',
          ]);
  
          $checked = $request-&gt;input('checked');
  
          Task::destroy($checked);
      }
  </code></pre>
  
  <p><strong>And this is my route</strong></p>
  
  <pre><code>Route::post('/destroy', [
      'uses' =&gt; 'Controller@destroy',
  ]);
  </code></pre>
  
  <p><strong>I don't get no error but the system does not work</strong></p>