Ti ringrazio dott watson, però quando vado a testare uno di questi mi esce questo messaggio di errore:
FPDF error: Some data has already been output to browser, can't send PDF file

che vuol dire?

il codice è il seguente:
<?php
define('FPDF_FONTPATH','font/');
require('html_table.php');

$pdf=new PDF();
$pdf->AddPage();
$pdf->SetFont('Arial','',12);

$html='<table border="1">
<tr>
<td width="200" height="30">cell 1</td><td width="200" height="30" bgcolor="#D0D0FF">cell 2</td>
</tr>
<tr>
<td width="200" height="30">cell 3</td><td width="200" height="30">cell 4</td>
</tr>
</table>';

$pdf->WriteHTML($html);
$pdf->Output();
?>

Aiuto!