Your cells have different widths. The first Multicellis the 40second inner cycle80
$pdf->Multicell(40,4,"LAMPIRAN FOTO\nJAMINAN",1,"C");
...
$pdf->Multicell(80,4,'Debitur : '. $row['debitur'],1);
Try to make them equal
$pdf->Multicell(80,4,"LAMPIRAN FOTO\nJAMINAN",1,"C");
...
$pdf->Multicell(80,4,'Debitur : '. $row['debitur'],1);
Then, if you do not want the LAMPIRAN FOTO\nJAMINANnewline to continue, delete \nfrom it.
Here is a good example with table andMulticells :
source
share