Hello everyone. I am in process of creating a script that will add information to a pdf via the dynamic creation of an fdf file. Everything seems to be working except for the area on the form with the check boxes. In the form itself I have each checkboxes name set to concerns[]. Below is my code. I have success echoing the selected checkboxes but when it comes to assigning the values to an array to be added to the fdf file I have an issue. It only shows up as other being selected no matter if it is or not.
[codes]
$concerns=$_POST['concerns'];
foreach($concerns as $value){
$data['symptoms']=$value;
echo $data['symptoms'].'<br />';
}
[/codes]
The $data array is used to place the field names and their values in the proper areas for the fdf file. So why is it when I echo $value that things come out right but when I assign $value to the $data['symptoms'] that it only shows other no matter if anything else including other is selected? Your prompt help is greatly appreciated.
Jay