Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/05/2003, 12:53
Avatar de Reynier
Reynier
 
Fecha de Ingreso: noviembre-2002
Ubicación: Por ahí en algún sitio
Mensajes: 1.844
Antigüedad: 21 años, 5 meses
Puntos: 1
Como puedo hacer esto?

Tengo este código que me genera una página

Código PHP:
echo "<html><head><title>Error en Datos</title></head>
<style type=\"text/css\">
    body{
    scrollbar-face-color: #aaaaaa; 
    scrollbar-highlight-color: #aaaaaa; 
    scrollbar-shadow-color: #aaaaaa; 
    scrollbar-3dlight-color: #eeeeee;
    scrollbar-arrow-color: #000000; 
    scrollbar-track-color: #e3e3e3; 
    scrollbar-darkshadow-color: #000000;
    }
TD { font-family: Tahoma; font-size: 11px; }
TH { font-family: Tahoma; font-size: 13px; }
TEXTAREA { border-bottom-width: 1px; border-color: #000000; border-left-width: 1px;
border-right-width: 1px; border-style: solid; border-top-width: 1px; font-family: Tahoma;
font-size: 10px; font-weight: bold; text-indent: 2px; }
INPUT { border-bottom-width: 1px; border-color: #000000; border-left-width: 1px;
border-right-width: 1px; border-top-width: 1px; color: #000000; font-family: Tahoma; 
font-size: 10px; font-weight: normal; text-indent: 2px; }
SELECT { background-color: #DFF4FF; font-family: Tahoma; font-size: 10px;
font-weight: bold; }
A:link { background-color: transparent; color: #215D83;
font-family: Tahoma; font-size: 11px; text-decoration: none; }
A:visited { background-color: transparent; color:  
</style>
<body background=\"img/back.gif\" leftmargin=\"0\" topmargin=\"0\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  <tr>
    <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
        <tr> 
          <td><img src=\"img/error.gif\" width=\"653\" height=\"132\"></td>
        </tr>
        <tr> 
          <td>Tienes los siguientes errores en tus datos:</td>
        </tr>
        <tr> 
          <td>echo</td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>"
;
?> 
dentro de esta va este otro codigo
Código PHP:
 if (condicion)
 echo 
"Algo"
y quiero que esto se me imprima dentro de la tabla que he creado antes arriba ¿cómo lo puedo hacer?

Salu2
__________________
Ing. Reynier Pérez Mira