Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/12/2008, 11:02
matias_80
 
Fecha de Ingreso: noviembre-2006
Ubicación: Capital Federal
Mensajes: 141
Antigüedad: 17 años, 5 meses
Puntos: 1
Respuesta: problemas con echo <<< EOT

Hola amigo, probe lo que me dijistes y ahora me lanza este error

$mensaje = <<< EOT
<table bgcolor="#ffffff" border="0" cellpadding="2" cellspacing="1" width="100%">
<tr>
<td bgcolor="#B2A982" height="13" style="text-align: left">
<font color="#FFFFFF">Fecha</font></td>
<td bgcolor="#B2A982" height="13" style="text-align: left">
<font color="#FFFFFF">Titulo</font></td>
<td bgcolor="#B2A982" height="13" style="text-align: left">
<font color="#FFFFFF">Descripcion</font></td>
</tr>
<?php
while($line = mysql_fetch_assoc($result_avisos))
{
?>
<tr>
<td><?php echo $fecha; ?></td>
<td><?php echo $titulo; ?></td>
<td><?php echo $descripcion; ?></td>
</tr>
<?php
}
?>
</table>
EOT;

Parse error: syntax error, unexpected $end in /home/od000542/public_html/tuba/mandar_newsleter_2.php on line 248

la linea 248 es la ultima linea del file!!!

Gracias x tu ayuda!