Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/08/2009, 03:31
Avatar de urgido
urgido
 
Fecha de Ingreso: febrero-2005
Mensajes: 2.351
Antigüedad: 20 años
Puntos: 25
Respuesta: problema con echo y etiquetas html

Código PHP:
Ver original
  1. <?
  2. $usuario=$_SESSION["id_usuario"];
  3. if (isset($usuario)) {
  4.           echo "Bienvenido ".$_SESSION["nick"].",<br>
  5.          Disfruta de tu estancia.<br>
  6.          <a href='panelcontrol.php'>Accede a tu panel de control</a>";
  7.           }else{
  8.           echo '<form name="login" action="login.php" method="post">
  9.      <p align="center">Nombre usuario:<br />
  10.        <input name="nick" type="text" />
  11.        <br />
  12.        Contraseña:<br />
  13.        <label>
  14.          <input type="password" name="password" id="textfield" />
  15.          <br />
  16.  
  17.          <input name="Entrar" type="submit" value="Entrar" align="center"/>
  18.        </label>
  19.        <br />
  20.        <span class="registr">¿Aún no estás registrado?</br>
  21.        <u><a href="registrar.html">Registrate</a></u></span><br align="center">
  22.        <a href="recovery.html">Olvidé mi contraseña</a></span>
  23.    </p>
  24.    </form>';
  25.     }
  26. ?>
__________________
Hospedaje Web al mejor costo!