# Help me solve this Script...little confused

**URL:** <https://forum.kirupa.com/t/help-me-solve-this-script-little-confused/213934>\
**Category:** programming\
**Created:** [January 24, 2007, 12:02pm UTC](https://forum.kirupa.com/t/help-me-solve-this-script-little-confused/213934 "2007-01-24T12:02:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![designursite](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/designursite/32/2209_2.png) [@designursite](https://forum.kirupa.com/u/designursite)\
**Post date:** [January 24, 2007, 12:02pm UTC](https://forum.kirupa.com/t/help-me-solve-this-script-little-confused/213934/1 "2007-01-24T12:02:46Z")

</div>

Hi guys,

I am having a problem with this php script:

```php

 
<?
 
   $to = "myemail@domain.com";
   $msg = "Name:" . $name 

;
   $msg .= "Subject:" . $subj 

;
   $msg .= "GSM:" . $gsm 

;
  mail($to, $subj, $msg, "From:" . $email 
Reply-To: $email
");
?>
 
 

```

\*\*Here in the top PHP script its appearing as only nn by actually its

.\*\*

Actually i want when the person sends me mail using flash it should join with this php script. I have already done that I have added this to my flash button:

```auto

on(release) {
 if (name == undefined || gsm == undefined || email == undefined || subj == undefined) {
  gotoAndStop("error");
 }
 else {
  loadVariablesNum("form.php",0,"POST");
  gotoAndStop("sent");
 }
}

```

It works and tells me sent by going to the frame etc …etc. But when it mails me i want it to specify which is the Name, GSM in the body. The email should come in the From: and the Subject in the Subject.

Like:

**Name: whatever**  
**GSM: 99999999**

I hope you guys are getting me.

Thanks in advance,  
Regards.
