![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
23/09/2005, 04:35
|
| | Fecha de Ingreso: febrero-2004 Ubicación: España. Madrid
Mensajes: 454
Antigüedad: 21 años 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> |