Ver Mensaje Individual
  #1 (permalink)  
Antiguo 19/04/2006, 04:04
utopiko
 
Fecha de Ingreso: marzo-2006
Mensajes: 230
Antigüedad: 18 años
Puntos: 2
Problemas con html dentro de un echo

Quiero hacer desaparecer el cuadro de texto correspondiente a las validaciones de usuarios si el usuario esta validado y entonces he echo el siguiente codigo es decir: he echo un if y dentro de ese if he envuelto todas las etiquetas html(correspondientes a la caja de texto) en echo de la forma descrita mas abajo...
Código PHP:
<?
                    $aut
=$_SESSION['autentificado'];
                    if(
$aut){
                     echo 
"<form action="Php/entrada.php" method="post" name="acceso" id="acceso">";
                      echo 
"<table width="95" border="0" cellpadding="0" cellspacing="0">";
                        echo 
"<tr>";
                          echo 
"<td valign="top">&nbsp;</td>";
                        echo
"</tr>";
                        echo
"<tr>";
                         echo
"<td valign="top"><table width="95" border="0" cellspacing="0" cellpadding="0">";
                            echo
"<tr>";
                              echo
"<td width="15" align="center" bgcolor="#FF6600"><span class="simbolo">&not;</span></td>";
                                  
echo"<td width="5" valign="bottom" bgcolor="#FFB98A"><table width="100%" border="0" cellspacing="0" cellpadding="0">";
                                    
echo"<tr>";
                                      echo
"<td valign="bottom" bgcolor="#A0B4AF"><img src="../img/pixel.gif" width="1" height="1" /></td>";
                                      
echo"</tr>";
                                    echo
"</table></td>";
                                  echo
"<td align="left" valign="bottom" class="datosnegrita"><table width="100%" border="0" cellspacing="0" cellpadding="0">";
                                    echo
"<tr>";
                                      echo
"<td bgcolor="#FFB98A" class="accesos">clientes</td>";
                                      
echo"</tr>";
[.....]
                        echo
"</table>";
                    echo
"</form>";
                    }
?>