Missing field in generated email
Hi Guys,
Hopefully a simple question that I know I have asked before.
I have a select list in a form. It only lets you select one item. As such I would think that if I want to input the info into the generated email it would look like this.
<?php echo((isset($_POST["reason[]"]))?$_POST["reason[]"]:"") ?>
I realize I have to remove the [] which I have done. But the email is not pulling the selected form field.
Any ideas?
Thanks,
Martin