Hi
I wrote the feedback form but it doesnt work when i upload on the website..my code is as below
contact.php
<html>
<form name="contact" method="post" action ="sendemail.php" >
Your Name <input type= text size ="20" name="name" value ="" >
</br></br>
Your email <input type= text size ="20" name="email" value ="" >
</br></br>
Comment <input type= text area name="comment" value ="" >
</br></br>
<input type= submit name="submit" value ="SEND" >
</form>
</html>
and the below is sendemail.php
<html>
<?php
$to="smun@gmail.com";
if (isset($_POST['SUBMIT'])
{
$yname = $POST['name'];
$email = $POST['email'];
$comment = $_POST['comment'];
$yname = htmlspecialchars($yname);
$email = htmlspecialchars($email);
$comment = htmlspecialchars($comment);
$comment = " 'sendername ='$yname. /n . 'sender's email
address ='$email. /n. 'sender's comments ='$comment ";
mail( $to,$comment,$email );
print "email sent successfully";
?>
</html>