The data which i need from my form is:
- name
- email
- comment
the email id to which i want to direct the from form is (example@example.com):
=====================================================
The php file which i made is checking.php
the code for the file is:
<html>
<?php
$name=$Request['name'];
$email=$Request['email'];
$comment=$_Request['comment'];
mail($name,$email,$comment);
header("Location: http://www.mydomain.com/index.html" );
?>
</html>
=========================================
When iam testing this file on my domain i am getting an error which is:
Warning: Cannot modify header information - headers already sent by (output started at /home/seaward/public_html/y/checking.php:4) in /home/seaward/public_html/y/checking.php on line 11
I doubt there is some problem with my mail() or header().....
Please help me.....