It should be simple but I'm obviously missing something.
I want to send a checkbox value as an email message but it's not working. The PHP and HTML is all in one file because it validates the other fields on submit. The basic structure is:
<?php
Validation checks
?>
<HTML>
<form>
<p><input type="checkbox" name="WantOne" value="Yes">Do you want one?</p>
</form>
</HTML>
<?php
$message = "Do they want one? $WantOne";
?>
Obviously all the other code is there and works but the checkbox just doesn't get passed.
Any sugestions?