[!--quoteo(post=371648:date=May 5 2006, 03:00 PM:name=kaspm)--][div class=\'quotetop\']QUOTE(kaspm @ May 5 2006, 03:00 PM)
Ok here is the code I got so far there are a lot more fields I want to send but I was trying it out. Now when i go to the last page of the form it doesnt show its just a plain white page. What could be the problem?
$to = 'email@example.com';
$subject = 'Test;
$name = $_post['StartMonth','StartYear'];
$message = "$name";
$headers = 'From: firstname.lastname@example.org' . "\r\n" .
mail($to, $subject, $message, $headers);
maybe it didn't sent because you did not do the $subject right..
when working with php you really name to take your time and make sure nothing is missing.. if you just getting stared use zend! it wont let you make much mistakes..
now in $subject you have ='Test;
you see missing a '
another problem i just notice.. in the $header.. you got .'\n\r".
this i think is wrong.. you dont need another . dot at the end becuase you are not connection nothing else to the headers.. so the "\\" should be with no ending dot.. the first dot connects it the last just doing nothing..