Minggu, 27 September 2009

Trouble create colspan with FPDF

Dear master PHP and FPDF, I have trouble to make a good colspan structure. I want my output like this image.


The report contain data from a mysql database query.
if i using my code (Cell Function), the colspan will be like this..
I Confuse how to solve the problem..
Please Help..



below is my code in loop of showing data

while ($data=mysql_fetch_array($exe)){

$pdf->Cell(80,50,"Gambar",1,0,'C');
$pdf->Cell(40,10,"NO",1,0,'L'); $pdf->Cell(70,10,"Ket No",1,0,'L');
$pdf->Cell(40,10,"NO",0,1,'C'); $pdf->Cell(70,10,"Ket No",1,2,'L');
$...Wrong...

}

Please Help about this..
Related Post:

Tidak ada komentar: