Ver Mensaje Individual
  #21 (permalink)  
Antiguo 23/09/2005, 04:35
cyborg
 
Fecha de Ingreso: febrero-2004
Ubicación: España. Madrid
Mensajes: 454
Antigüedad: 20 años, 2 meses
Puntos: 0
bueno ya ta.. un apaño

<html>
<head>
<title>ejemplo para cyborg</title>
</head>
<body>
<?php

echo '
Ingese su nombre
<br />
<form method="POST" action="prueba27.php">
<input name="nombre" size="50" />
<input type="submit" name="enviar" value="Enviar" />
</form>
';

if (isset($_POST["enviar"]))
{
if ($_POST["nombre"])
{
echo 'Bienvenido '.$_POST["nombre"].', espero que disfrutes tu estadia';
echo $_POST["enviar"];
}
else
{
echo 'Su nombre no es correcto, vuelva a intentarlo';
}
}



?>
</body>
</html>