Ver Mensaje Individual
  #14 (permalink)  
Antiguo 19/12/2008, 11:37
Yinc
 
Fecha de Ingreso: diciembre-2008
Ubicación: localhost
Mensajes: 232
Antigüedad: 15 años, 4 meses
Puntos: 3
Respuesta: problemas con echo <<< EOT

Pana, y si colocas solo en php lo que necesitas realmente y trabajas el HTML fuera de las etiquetas de PHP? es una opción y la más fácil... La otra sería colocando un solo echo "TODO EL CÓDIGO HTML" ; y ya!


Código PHP:
<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>
<?
while($line mysql_fetch_assoc($result_avisos))
{
?>
<tr>
<td><?php echo $fecha?></td>
<td><?php echo $titulo?></td>
<td><?php echo $descripcion?></td>
</tr>
<?
}
?>
</table>