# Flash mail form php with checkboxes

**URL:** <https://forum.kirupa.com/t/flash-mail-form-php-with-checkboxes/218137>\
**Category:** programming\
**Created:** [March 5, 2007, 12:30pm UTC](https://forum.kirupa.com/t/flash-mail-form-php-with-checkboxes/218137 "2007-03-05T12:30:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyberkaly](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@cyberkaly](https://forum.kirupa.com/u/cyberkaly)\
**Post date:** [March 5, 2007, 12:30pm UTC](https://forum.kirupa.com/t/flash-mail-form-php-with-checkboxes/218137/1 "2007-03-05T12:30:37Z")

</div>

Hi all,

I have created a mail form with flash which gives the data to an php file and sends it to my email, the problem is that it works on the inputboxes, just it doesnt sends the value of the checkboxes.

the instacnes of the checkobxes are checkbox1, checkbox2 etc…  
and the variable is myCheckbox

if I use the loadvars Object it doesnt work

\<?php  
$sendTo = “kalyan@mukherjee.ch”;  
$subject = “My Flash site reply”;

$headers = “From: " . $\_POST[“name”].” “. $\_POST[“course”] . “\<” . $\_POST[“email”] .”\>  
“. $\_POST[“dob”] .” " . $\_POST[“yos”] ." " . $\_POST[“phone”] ." " . $\_POST[“address”] ."\>  
";  
$headers .= “\<” . $\_POST[“email”] . "\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”] . "  
";  
$headers .= "Return-Path: " . $\_POST[“email”];  
$headers .= "Ticked: " . $\_POST[“myCheckbox”];

mail($sendTo, $subject, $headers);  
?\>

can anyone help me how to work out the problem?

thanks!!!
