I have inserted some text in the WriteHTML function provided by http://www.fpdf.org/ under 'Tutorial 6: Links and flowing text'.
I want to add some php code inside of it but it does not quite function.
I tried the following but it just wrote the code too.
while ($row = mysql_fetch_array($result)) {
$html='Person:<b>".$row["firstname"] ." ". $row["lastname"]."</b>';
$pdf->AddPage();
$pdf->SetXY(12, 127);
$pdf->SetFontSize(11);
$pdf->WriteHTML(utf8_decode($html));
} $pdf->Output();
Any ideas? Is there any function in existance that can make this work?