Ver Mensaje Individual
  #6 (permalink)  
Antiguo 17/06/2010, 11:13
apuu
 
Fecha de Ingreso: abril-2010
Mensajes: 89
Antigüedad: 14 años
Puntos: 1
Respuesta: mostrar resultado en un div

tenemos index

Código PHP:
<html>
<head>
<title>index</title>
</head>
<body>
<form action="ejecutar" method="post">
Nombre <input name="nom" type="text" /><br>
clave <input name="clave" type="password" /><br>
<input name="enviar" type="submit" value="entrar" /><br>
</form>
<div id="mostrar"> <?
echo "bienbenido";
echo 
"Nombre es:".$_POST['nom']."";
?>
</div>
</body>
</html>