@php
$x=count($contents);
$ix=ceil($x/2);
for($i=0;$i<$ix;$i++){
echo ''.str_replace(' And ',' and ',ucwords($contents[$i][0])).' | '.$contents[$i][1].' | ';
}
@endphp
|
@php
echo '';
for($i=$ix;$i<$x;$i++){
echo ''.str_replace(' And ',' and ',ucwords($contents[$i][0])).' | '.$contents[$i][1].' | ';
}
echo ' ';
@endphp
|