NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
where do i go?


Joined: 06 Jan 2007
Posts: 19
Reply with quote
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
View user's profileFind all posts by LuisMartinsSend private message


Joined: 24 Oct 2006
Posts: 98
Location: Melbourne, AU
Reply with quote
Luis, I highly recommend the SitePoint forums for help with general coding...

http://www.sitepoint.com/forums/forumindex.php?
View user's profileFind all posts by LatsSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Dear LuisMartins,
Please use different forums for posting php-coding related questions.
You may want to Google for them.
This site is for supporting NuSphere products solely.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
where do i go?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic