Date
Priority
Query
@foreach($data as $key =>$value) @php $new = preg_split('/\t+/', $value); $html=''; foreach($new as $key1=> $newvalue) { $html=$html.'
'.$newvalue.'
'; if(count($new) == 1 && array_key_last($new) ==$key1 ) { $html=$html.'
'; } if(count($new) < 3 && array_key_last($new) ==$key1 ) { $html=$html.'
'; } } @endphp
{!!$html!!}
@endforeach()