Yeah, you can use this for get all the rows of the table as an array object
$users = DB::table('users')->select('id', 'email')->get(); return View::make('some.view', compact('users')) ;
Then on the view
@foreach($users as $user)
{{ Form::checkbox('check[] ', $user->id) }}
@endforeach
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community