![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
|
This is the PHP used ? $name=$_POST['name']; $email=$_POST['email']; $comments=$_POST['comments']; |

#5
| |||
| |||
|
|
This is the PHP used ? $name=$_POST['name']; $email=$_POST['email']; $comments=$_POST['comments']; $to="aesstevenson (AT) aol (DOT) com"; $message="$name just filled in your comments form. They said:\n$comments\n\nTheir e-mail address was: $email"; if(mail($to,"Comments From Your Site",$message,"From: $email\n")) { echo "Thank you for your comments."; } else { echo "There was a problem sending your comments. Please ensure you completed the form correctly."; } ? "just filled in your comments form. They said" appears in the email, but not the user input. |
#6
| |||
| |||
|
|
I'm not exactly a PHP expert (as I usually lie in .Net) but I think you may have your slashes the wrong way around in your $message string |
|
...And I'm not exactly sure how PHP reacts to having special characters next to string names |
#7
| |||
| |||
|
|
$name=$_POST['name']; $email=$_POST['email']; $comments=$_POST['comments']; |
![]() |
| Thread Tools | |
| Display Modes | |
| |