Send Mail Form Flash template HELP!

Hi
It seems to be an easy task to follow tutorials on how to create a submit form from scratch.
I have a template that i have been trying to modify but if a change a name or a color, something else wont work. is kind of all connected, so i gave up.

My template has a button movie clip; and on the contact page there is the whole text field with name last name telephone company email and message

I have been looking for a PHP script that suits my needs

So far the action script on my template is as follows:

on (rollOver) {
gotoAndPlay(“t1”);
}
on (releaseOutside, rollOut) {
gotoAndPlay(“t2”);
}
on (release) {
_parent.t1 = “”;
_parent.t2 = “”;
_parent.t3 = “”;
_parent.t4 = “”;
_parent.t5 = “”;
_parent.t6 = “”;
}
on (release) {
loadVariablesNum(“mail.php”, 0, “POST”);
}

after that i called the php file on my server and i enrouted that to a probably 20 different scripts with no luck.

t1 t2 t3 t4 t5 t6 are the text variables… and i try changing the PHP scripts to match t1 t2 t3 t4 t5, when i do that instead of what the regular PHP scripts have like

($_POST[‘something’] i change the something for t1 or t2 and so on depending on what is suposed to be there…

also i tried changing the info First Name: $fname
Last Name: $lname
Email: $email

where name and f name i will put t1 t2 t3 t4 depending on my info.

this is the PHP

<?
$sendTo = “my mail@my mail”;
$subject = “>TEST TEST”;
$ip = $_SERVER[‘REMOTE_ADDR’];
$headers .= "From: " . $_POST[‘t1’] . “>t1”;
$headers .= "Reply-To: " . $_POST[‘t3’] . “>t3”;
$message = $_POST[‘t6’] . "

" . "Sender’s ip address is " .
nl2br($ip);
mail($sendTo, $subject, $message, $headers);
?>

I did change my mail… at this point this is the last script i tried and i know i have to writte more thing to get all those 6 fields fully working.

the template is very sensitive, i tried changing the var names to something like: Name,Email and so on, but the submit button did not work anymore, also the clear botton to erase all the info did not work, i tried to select the whole input text and create a single movie clip like they said in one tutorial but my buttons didnt work as well

when i load a PHP script and i only change my e-mail info, and i leave the PHP original, i do get the email but all info is missing. or blank.

I have been strugling with this for days plllllllllllllleeeease any help!!!

:look::jail::puzzle: