Pass checkbox values to laravel controller for deleting

I have a table with checkbox <form action=”” method=”post”> <td><input type=”checkbox” name=”delid[]” value=”@”></td> <button type=”submit” name=”bulk_delete” id=”bulk_delete” class=”btn btn-danger btn-xs”> <i class=”glyphicon glyphicon-remove”></i> </button> How to pass checked box array values to the controller for deleting. controller. public function del(Request $request ) { DB::table(‘master’)->delete(); return redirect (“/works”)->with(“Success”,”Deleted Successfully”) ; }

Details