Can u please help me out. I want to create contact form which send the copy of the form to me + the form submitter email address and display the submit form instead of redirecting to thankyou.php , like If my contact form is : contact.html [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--] <form action="mail.php" method="post"> Name <input type="text" name="name"><br/> Email addess <input type="text" name="email"><br/> Message<br/> <textarea name="message" cols="40" rows="5"></textarea><br/> <input type="submit" value="send"><br/> </form> [/quote] mail.php [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--] <?php $youremail = "
[email protected]"; $subject = "Contact"; $thankyou = "thankyou.php"; ;if($email == ""){ ?> No email address added. Please go back.<br/> "<?php ;}elseif($name == ""){ "?> No name added. Please go back.<br/> <?php ;}elseif($message == ""){ "?> No message added. Please go back.<br/> "<?php ;}else{ $msg = ereg_replace("\\\'", "'", $message); $msg = ereg_replace('\\\"', "\"", $msg); $message1 = "from: $name\nemail: $email\nmessage:\n$msg1"; mail($youremail, $subject, $msg, "From: $email\r\nReply-to: $email\r\n"); ?> <meta http-equiv="refresh" content="0; url=<?echo $thankyou;?>""> "<?php } "?> [/quote]