# Flash 8 email with check box problem

**URL:** <https://forum.kirupa.com/t/flash-8-email-with-check-box-problem/280355>\
**Category:** flash\
**Created:** [January 26, 2009, 6:28pm UTC](https://forum.kirupa.com/t/flash-8-email-with-check-box-problem/280355 "2009-01-26T18:28:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobertMX](https://avatars.discourse-cdn.com/v4/letter/r/5fc32e/32.png) [@RobertMX](https://forum.kirupa.com/u/RobertMX)\
**Post date:** [January 26, 2009, 6:28pm UTC](https://forum.kirupa.com/t/flash-8-email-with-check-box-problem/280355/1 "2009-01-26T18:28:51Z")

</div>

I have a flash PHP email form that has works greet. I want to add some check boxes to it and am not able to get the values sent to my email. I think the php file is good, But I need some help with the action scripting part in the flash.

```php
<?php
 if ($_POST)
 {
  $mailTo = "email@domain.com";
  $mailSubject = "[Contact] Semester Tutoring Needed - (" . $_POST['name'] . ")";
  
  $Header = "MIME-Version: 1.0
";
  $Header .= "Content-type: text/html; charset=iso-8859-1
";
  $Header .= "From: " . $_POST['email'] . "
";
  
  $output = "<BR>";
  $output .= "From : " . $_POST['name'] . "<BR><BR>";
  $output .= "Email : " . $_POST['email'] . "<BR><BR>";
  $output .= "About : " . $_POST['about'] . "<BR><BR>";
  $output .= "Message : " . $_POST['message'] . "<BR><BR>";
  $output .= "Class Level : " . $_POST['from'] . "<BR><BR>";
        $output .= "class : " . $post="hsdip[]" . "<BR><BR>";
        $output .= "Tutoring : " . $post="tutoring[]" . "<BR><BR>";
        $output .= "help needed : " . $post="hsdip[]" . "<BR><BR>";
        $output .= "help needed : " . $post="tutoring[]" . "<BR><BR>";
          
  $output = nl2br($output);
  
  if (mail($mailTo, $mailSubject, stripslashes($output), $Header))
  {
   echo("&result=1&");
  }
  else
  {
   echo("&result=2&");
  }
 }
 else
 {
  echo("This script runs only in Flash!!!");
 }
?>

```
