ciao ragazzi sto sclerando....

sto usando la funzione fpdf.php

ma nn funziona nulla ho scritto un codice semlice semplice:

$p = new fpdf();
$p->Open();
$p->AddPage();

$p->SetTextColor(0); // Con queste due funzioni imposto il carattere
$p->SetFont('Arial', '', 14);

$p->MultiCell(0, 5, 'Testo con ' . "\n" . 'MultiCell()', 0, 'center');
$p->Cell(0, 5, 'Testo con Cell()');
$p->Write(5, 'Testo con Write()');
$p->Text(5, 10, 'Testo con Text()');
$p->output();


ma mi da errore


Warning: Cannot modify header information - headers already sent by (output started at c:\programmi\easyphp1-8\www\mesamis\admin\invia_ordine.php:183) in c:\programmi\easyphp1-8\www\mesamis\fpdf.php on line 998
FPDF error: Some data has already been output to browser, can't send PDF file

qualcuno sa dirmi il perche'?

grazie mille