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

aaa oki ahora entendi me faltaba le .= en $mensaje........igual aqui el codigo
$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></td>";
echo "<td></td>";
echo "<td></td>";
echo "</tr>";
}
echo "</table>";

Pero me sigue tirando error y es el siguiente.........
Parse error: syntax error, unexpected T_ECHO in /home/od000542/public_html/tuba/mandar_newsleter_2.php on line 52
y la linea 52
$mensaje .= echo "<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\">";