Select
@if(count($getSectionNameFromId)>0) @foreach($getSectionNameFromId as $val)
{{ $val->name }}
@endforeach @endif