Hola,
Cita:
Empezado por ctronx
(...) si alguien me puede ayudar de antemano muchas gracias.
|
¿Lo siguiente te va bien?
Código PHP:
<html>
<head>
<title>
ClubDelphi.com
</title>
</head>
<body>
<?php if(!isset($_POST['nombre_usuario'])) { ?>
<form id="frmejemplo" action="ejemplo.php" method="post">
<input type="text" name="nombre_usuario">
<input type="submit" value="Enviar">
</form>
<?php } else { ?>
<p>
<!--
La variable "nombre_usuario" está establecida:
entendemos que ya se envió el formulario, pues.
-->
Dices que tu nombre es: <?php echo $_POST['nombre_usuario']; ?>
</p>
<?php } ?>
</body>
</html>