@php
$x=count($contents);
$ix=($x>20)?20:$x;
for($i=0;$i<$ix;$i++){
echo '| '.str_replace(' And ',' and ',ucwords($contents[$i][0])).' | '.$contents[$i][1].' | ';
}
@endphp
|
@php
if ($ix==20 && $x>20){
echo '';
for($i=20;$i<$x;$i++){
echo '| '.str_replace(' And ',' and ',ucwords($contents[$i][0])).' | '.$contents[$i][1].' | ';
}
echo ' ';
}
@endphp
|