Ver Mensaje Individual
  #6 (permalink)  
Antiguo 19/12/2008, 11:16
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

Tambien probe con esto y no me funciona!!

$mensaje = echo "<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\">";
echo "<tr>";
echo "<td>Fecha</td>";
echo "<td>Titulo</td>";
echo "<td>Descripcion</td>";
echo "</tr>";
while($line = mysql_fetch_assoc($result_avisos))
{
echo "<tr>";
echo "<td>echo $line["fecha"];</td>";
echo "<td>echo $line["titulo"];</td>";
echo "<td>echo $line["descripcion"];</td>";
echo "</tr>";
}
echo "</table>";

me tira este error


Parse error: syntax error, unexpected T_ECHO in /home/od000542/public_html/tuba/mandar_newsleter_2.php on line 52

donde la linea 52 es esto
$mensaje = echo "<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\">";

gracias