Advertisement
hercioneto

pagina1.php pw2-2019

Mar 18th, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.69 KB | None | 0 0
  1. <!-- pagina1.php -->
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6.     <title>Retorno Formulário 1</title>
  7. </head>
  8. <body>
  9.     <?php
  10.     if (isset($_POST["nome"])) {
  11.         $nome = $_POST["nome"];
  12.     }
  13.     else { $nome = "Por favor informe seu nome."; }
  14.    
  15.     if (isset($_POST["email"])) {
  16.         $email = $_POST["email"];
  17.     }
  18.     else { $email = "Por favor informe seu email."; }
  19.    
  20.     if (isset($_POST["senha"])) {
  21.         $senha = $_POST["senha"];
  22.     }
  23.     else { $senha = "Por favor informe sua senha."; }
  24.      ?>
  25. <div>Nome: <br><?php echo $nome; ?>
  26. </div>
  27. <div>E-mail: <br><?php echo $email; ?>
  28. </div>
  29. <div>Senha: <br><?php echo $senha; ?>
  30. </div>
  31. </body>
  32. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement