use IlluminateSupportFacadesDB;
$users = DB::select('select * from users');
foreach ($users as $user) {
echo $user->name;
}
$users = DB::table('users')
->where('votes', '>', 100)
->orWhere(function($query) {
$query->where('name', 'Abigail')
->where('votes', '>', 50);
})
->get();
<div class="col-12 form-group">
{{ Form::label('name', __('choose'),['class'=>'form-label']) }}
<select class="form-select" aria-label="Default select example"name="type"id="type">
<option value="{{$formBuilder->type}}" hidden disabled selected>{{$formBuilder->type_name}}</option>
<option value="1">choose1</option>
<option value="2">choose2</option>
<option value="3">choose3</option>
</select>
</div>