Codice PHP:
while($row=mysql_fetch_array($ris_query)){
$pdf->SetFont('Arial','',10);
$pdf->Cell(15, 8, $row[id_protocolli], 1, 0,'C');
$pdf->Cell(20, 8, $row[tipo_mezzo], 1, 0, 'C');
$pdf->Cell(15, 8, $row[pagine], 1, 0, 'C');
$pdf->Cell(25, 8, $row[data_ins_prot], 1, 0, 'C');
$pdf->Cell(38, 8, $row[nome_mit_des], 1, 0, 'C');
$x=$pdf->GetX();
$y=$pdf->GetY();
$pdf->MultiCell(50, 8, $row[oggetto_protocollo], 1, 'L');
$pdf->SetXY($x+50,$y);
$pdf->Cell(40, 8, $row[nome_categ], 1, 0, 'C');
$u=$pdf->GetX();
$t=$pdf->GetY();
$pdf->MultiCell(60, 8, $row[nome_sottocateg], 1,'L');
$pdf->SetXY($u+60,$t);
$pdf->Cell(20, 8, $row[collegamento_protocollo], 1, 0, 'C');
$pdf->Ln(10);
}