Devo dire che mi sembra strana questa istruzione (anche se uso sempre echo e mai print)
Non è che dovrebbe essereCodice PHP:print("
<table width='400' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td width='13%'><?php echo $eventi->categoria ?></td>
<td width='9%'><?php echo $eventi->data ?></td>
<td width='53%'><?php echo $eventi->titolo ?></td>
<td width='25%'><?php echo $eventi->provincia ?></td>
</tr>
</table>
");
Codice PHP:print("
<table width='400' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td width='13%'>".$eventi->categoria."</td>
<td width='9%'>".$eventi->data."</td>
<td width='53%'>".$eventi->titolo."</td>
<td width='25%'>".$eventi->provincia."</td>
</tr>
</table>
");

Rispondi quotando