Hi there,
I'm trying to get the checkboxes on my form to pickup and be included in the email to me.. For some reason it doesn't work...
here's the php:
<?php
$to = "email@somewhere";
$subject = "$subject";
$message = "$message";
$from = "$email";
$headers = "From: $from";
$checkbox = "$Yes Please";
$checkbox = "$No Thanks";
mail($to,$subject,$message,$headers,$checkbox);
echo('<h2>Thank you for contacting');; ?>
Any ideas????
I'm trying to get the checkboxes on my form to pickup and be included in the email to me.. For some reason it doesn't work...
here's the php:
<?php
$to = "email@somewhere";
$subject = "$subject";
$message = "$message";
$from = "$email";
$headers = "From: $from";
$checkbox = "$Yes Please";
$checkbox = "$No Thanks";
mail($to,$subject,$message,$headers,$checkbox);
echo('<h2>Thank you for contacting');; ?>
Any ideas????