@php $image_position = []; $x = 0; foreach ($photoselect as $p) { if ($x < $num1) { $image_position[$x]['name'] = mePHOTO($casedata->hn, $p['na'],$folderdate); $image_position[$x]['tx'] = $p['tx']; $image_position[$x]['sc'] = $p['sc']; } $x++; } @endphp {!! tablePICPDF(2, $image_position, "width='163px' height='163px'") !!} |