Flash form tutorial problems


I did the flash form tutorial here on kirupa.com


Everyting works fine but if I add a textfield to the flash file and change the php file it still sends the original textfield but not the one I have created. I am using flash 8 and macromedia mx. I just copied the message textfield in flash and dublicted it. Than I gave the dublicated textfield a different instance name (second). After that I published the movie and adjusted the php file. I guess that the mistake is here. Would be cool if you could check the below listed php script and tell me what I am doing wrong. Honestly it’s driving me nuts:stare: as it looks so simple but it just wont work. I marked the lines I added with red. Thanks in advanced:thumb2:…


$headers = “From: " . $_POST[“firstName”] .” “. $_POST[“lastname”] . “<” . $_POST[“email”] .”>

$headers .= "Reply-To: " . $_POST[“email”] . "

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

$message = $_POST[“message”];
[COLOR=Red]$second = $_POST[“second”];
mail($sendTo, $subject, $message, $headers[COLOR=Red], $second[/COLOR]);