1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 4. <head> 5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 6. <title>Your Feedback</title> 7. </head> 8. <body> 9. <?php // Script 3.3 handle_form.php 10. 11. // This page receives the data from feedback.html. 12. // It will receive: title, name, email, response, comments, and submit in $_POST. 13. $title = $_POST['title']; 14. $name = $_POST['name']; 15. $response = $_POST['response']; 16. $comments = $_POST['comments']; 17. 18. // Print the received data: 19. print "<p>Thank you, $title $name, for your comments.</p> 20. <p>You stated that you found this example to be '$response' and added:<br />$comments</p>"; 21. 22. ?> 23. </body> 24. </html>