Jump to content

FeedBack Form.. Click submit.. and nothing happens :S help please :)


AlanB09

Recommended Posts

okay i have this form ... saved as feedback.html

 

<html>

<head>

<title> Contact Us </title>

<body bgcolor="orange">

<center>

</head>

<body>

 

<!-- Sets up the Form -->

<form name="contact" method="POST" action="contactmail.php" />

Your Name:<br /><input type="text" name="fullname" value="Fullname"/><br /><br />

Your Email:<br /><input type="text" name="email" value="Email" />

</form>

<h2>Your Comments</h2><br />

<textarea name="comments" rows="15" cols="50" />

</textarea>

<br />

<center><input type="submit" name="submit" value="Submit">

</body>

</html>

 

and i have this script.. saved as contactmail.php

 

<html>

<body>

 

<?php

 

 

 

 

$name = $_POST['fullname'];

$email = $_POST['email'];

$feedback = $_POST['comments'];

 

echo "Thank You $name";

echo "Your feedback: $feedback";

echo "<br />";

echo "is much appreciated and has been sent to the webmaster";

echo "<b>We will be in touch soon. Namaste</b>";

 

?>

 

</body>

</html>

 

i cant see any problems with the script, but for some reason, when i click submit.... nothing happens :S

what am i doing wrong ?

any help much appreciated, thank you :)

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.