Hello,
I know very little PHP. I appreciate any help you can offer for what will probably be (hopefully) a simple question/solution.
I am using PHP to email data collected from a form. I have added a list box in the form that allows the buyer to select more than one value. Using the code snippets below, I canāt seem to get the values to be displayed in the email message. I do see a separate line for each value selcted when the info is emailed, but instead of seeing the name of the value, itās empty. What am I doing wrong?
[code]
Peppermint Cinnamon Spearmint Wintergreen [/code]
[php]<?
@$Flavor= $_POST[āFlavorā];
if( is_array($Flavor)){
while (list ($key, $val) = each ($Flavor)) {[/php]$msg .= āFlavor: \t$_POST[$val]\nā;
}
}
?>