I hope you can help me out. I need to text wrap my columns. How can i do this? Below my code
$pdf = new PDF('L');
//header
$pdf->AddPage();
//foter page
$pdf->AliasNbPages();
$pdf->SetFont('Arial','B',5);
foreach($header as $heading) {
$pdf->Cell(40,10,$display_heading[$heading['Field']],1);
}
foreach($result as $row) {
$pdf->Ln();
foreach($row as $column)
$pdf->Cell(40,10,$column,1);
}
$pdf->Output();
?>