Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Contact Form Results</title>
  5. <meta charset="utf-8">
  6. </head>
  7. <body>
  8. <?php
  9. $name = $_POST["user_name"];
  10. $email = $_POST["user_email"];
  11. $phone = $_POST["user_phone"];
  12. $message = $_POST["user_message"];
  13. ?>
  14. <h1>Contact Form Results</h1>
  15. <div>Name: <?php echo $name; ?></div>
  16. <div>Email: <?php echo $email; ?></div>
  17. <div>Phone: <?php echo $phone; ?></div>
  18. <div>Question/Comment: <?php echo $message; ?></div>
  19. <div><?php echo $name . " just sent a message from " . $email . ". The message says, \"" . $message . "\""; ?></div>
  20. </body>
  21. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement