Buonasera a tutti,
sto generando un pdf da un file .php con questo codice:
Codice PHP:
<?php
require('html_table.php');

$pdf=new PDF();
$pdf->AddFont('Calligrapher','','calligra.php');

$pdf->AddPage();
$pdf->SetFont('Calligrapher','',12);

$html='<table border="1">
<tr>
<td width="200" height="30"><span class="font12">cell 1</span></td><td width="200" height="30" bgcolor="#D0D0FF">$_POST[TPL_riga1]</td>
</tr>
<tr>
<td width="200" height="30"><font color="#FF99FF" size="2" face="Monotype Corsiva">cell 3</font></td><td width="200" height="30">cell 4</td>
</tr>
</table>'
;

$pdf->WriteHTML($html);
$pdf->Output();
?>
il pdf viene generato però non mi stampa la variabile $_POST[TPL_riga1]