Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- pagina1.php -->
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Retorno Formulário 1</title>
- </head>
- <body>
- <?php
- if (isset($_POST["nome"])) {
- $nome = $_POST["nome"];
- }
- else { $nome = "Por favor informe seu nome."; }
- if (isset($_POST["email"])) {
- $email = $_POST["email"];
- }
- else { $email = "Por favor informe seu email."; }
- if (isset($_POST["senha"])) {
- $senha = $_POST["senha"];
- }
- else { $senha = "Por favor informe sua senha."; }
- ?>
- <div>Nome: <br><?php echo $nome; ?>
- </div>
- <div>E-mail: <br><?php echo $email; ?>
- </div>
- <div>Senha: <br><?php echo $senha; ?>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement