Hi, iv got this form in flash that once the user has filled in, simply clicks and sends it to my email account.
I would also like to add two more topics, "phone" and "address"
I belive the scripting in flash is correct, but hey things happen.
so I would like to add those two in my php file, so i can get there contact number and address aswell as their message, etc, etc
heres the code for u guys---------------------
PHP Code:
/
$sendTo = "dazzclub@yahoo.co.uk";
$subject = "B&H Thermochromic Inks";
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] ." <" . $_POST["email"] .">\r\n";
//
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-path: " . $_POST["email"];
// now we can add the content of the message to a body variable
$message = $_POST["message"];
// // in the mail function call which will send you an email
mail($sendTo, $subject, $message, $headers, $body );
so where could "phone" and "address" go?
cheers
|