Ver Mensaje Individual
  #8 (permalink)  
Antiguo 21/06/2009, 13:33
Avatar de chulifo
chulifo
 
Fecha de Ingreso: abril-2009
Ubicación: perdido en codigos del PHP, pero aprendo rapido!
Mensajes: 524
Antigüedad: 15 años
Puntos: 18
Respuesta: Hola ayuda con un ingreso rapido a la web

ok mira pongo e formularido donde me dices y me queda de la siguiente manera

Código PHP:
<?php
if(!isset($_SESSION['MM_Username'])) {
<
form id="form1" name="form1" method="POST" action="<?php echo $loginFormAction; ?>"> <br>Nick/><input name="nick" type="text" id="nick" />Password<input name="clave" type="text" id="clave" /><br /><input type="submit" name="Submit" value="Ingresar" /><span class="Estilo3">Registrarse</span></form>
} else {
  echo 
"Hola ".$_SESSION['MM_Username'];
}
?>
y me da el siguente error

Cita:
Parse error: parse error in C:\wamp\www\prueba\index.php on line 136
y lo que esta en esa linea este formulario :S

Código PHP:
<form id="form1" name="form1" method="POST" action="<?php echo $loginFormAction?>"> <br>Nick/><input name="nick" type="text" id="nick" />Password<input name="clave" type="text" id="clave" /><br /><input type="submit" name="Submit" value="Ingresar" /><span class="Estilo3">Registrarse</span></form>