Help with a simple flash/PHP mail form

Hello,

I am new to flash and am having problems getting a mail form to work.

I have been using the tutorial on this site at
http://www.kirupa.com/developer/actionscript/flash_php_email.htm

I can get this to work fine, but I want to add an extra category to my form so people can enter their phone number. I have a text field with the var name ‘phone’, and all I want to know is what I need to do to the PHP code to make the phone number be included in the main body of the email as well as the message text.

Here is the php code I’m using –

<?php

$sendTo = "peter.langdon@inbox.com";
$subject = “Message from web site”;

$headers = “From: " . $_POST[“name”] .” <" . $_POST[“email”] .">
";
$headers .= "Reply-To: " . $_POST[“email”] . "
";
$headers .= "Return-path: " . $_POST[“email”];

$message = $_POST[“body”];

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

?>


Any help would be much appreciated.

Thank you!

Peter