Jump to content

form help


ball420

Recommended Posts

below is my code this emails me from a flash piece. I have made a new text field called    answer    but when it emails me it doesn't include this field with it. help please

 

<?php

 

$sendTo = "[email protected]";

$subject = "My Flash site reply";

 

 

$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">\r\n";

 

$headers .= "Reply-To: " . $_POST["email"] . "\r\n";

 

$headers .= "Return-path: " . $_POST["email"];

 

 

$message = $_POST["message,question"];

 

 

 

mail($sendTo, $subject, $message, $headers);

 

?>

Link to comment
https://forums.phpfreaks.com/topic/62689-form-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.