Hi
I am using the following code to convert html to pdf. But the resulting pdf page shows blank. Please help me...its very urgent..
require('pdf/html2fpdf.php');
$str =stripslashes('<div style="width:580px;" align="left">'.$pdfmessage."</div>");
$html=str_replace(" ","",$str);
$pdf=new HTML2FPDF();
$pdf->AddPage();
$pdf->SetLeftMargin(25);
$pdf->SetFontSize(12);
$pdf->WriteHTML($html);
$pdf->Output($invno.'.pdf','F');