jamesharry404
Neues Mitglied
Hello Friends,
There is a QUESTION for you.
This is my form
Please tell me is it correct or not if correct so please modified it or it's wrong so please correct it and modified it also.
thank you in advance
_____________________________________________________
Wedding Planners in Delhi |
Canadian Visa
There is a QUESTION for you.
This is my form
Code:
<form action="" method="post">
Name:- <input type="text" name="name" /><br>
E-mail:- <input type="text" name="email" /><br>
Message:- <textarea ></textarea><br>
<input type="Submit" name="mail" />
</form>
Code:
<html>
<body>
<?php
if (isset($_REQUEST['mail']))
{
$name= $_REQUEST['name'] ;
$email= $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail("[email protected]", $subject,
$message, "From:" . $email);
echo "Thank you for using our mail form";
}
else
{
echo "Message not send";
}
?>
</body>
</html>
Please tell me is it correct or not if correct so please modified it or it's wrong so please correct it and modified it also.
thank you in advance
_____________________________________________________
Wedding Planners in Delhi |
Canadian Visa