@if(!empty($bid)) @foreach($bid as $key => $value) {{ $key+1 }} {{ $value->username}} {{ $value->points }} {{ $value->type }} @endforeach @else No Data Available @endif