Joined: 06 Jan 2007 |
Posts: 19 |
|
|
|
Posted: Mon Jan 15, 2007 5:57 pm |
|
|
|
|
|
hey there, i know i have posted something earlier about this but i need to show what i did , detailed.
i created the feedback form and handle_form, everything goes fine, i fill in the feedback form and when i click the submit feedaback button it jumps to the handle_form saying thank you for the feedback and shows the info i sent.
But, where does it go to, and how do i access it to see what people are sending me ?
here is the feedback form code :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Feedback Form</title>
</head>
<body>
Please complete this form to submit your feedback: <br />
<form action="handle_form.php">
Mr. <input type="radio" name="title" value="Mr." />
Mrs. <input type="radio" name="title" value="Mrs." />
Ms. <input type="radio" name="title" value="Ms." />
<br />
Name: <input type="text" name="name" size="20" />
<br />
Email Address: <input type="text" name="email" size="20" />
<br />
Response: <select name="response">
<option value="excellent">This is excellent.</option>
<option value="okay">This is okay.</option>
<option value="boring">This is boring.</option>
</select>
<br />
Comments: <textarea name="comments" rows="3" cols="30"></textarea>
<br />
<input type="submit" name="submit" value="Send My Feedback" />
</form>
<!-- Script 3.2 - feedback.html -->
</body>
</html>
and here is the handle_form code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<?php //Script 3.4 - handle_form.php
// This page receives the data from feedback.html.
// It will receive: title, name, email, response, comments, and submit.
print "Thank you $title $name for your comments. <br />";
print "You stated that you found this example to be $response and added: $comments";
?>
</body>
</html>
do i need to change anything in there ?
can i get the feedback to be forward to my email address or another page?
thanks alot guys
|
|