Checkbox group
Hi, I wonder if someone could assist. I have a checkbox group with 23 checkboxes which I want to insert into one data field. When I ran through SA2, it left a blank ie no checkboxes so I added them manually after the pages were made.
I understand that I the following change to each checkbox:
From:
<input type="checkbox" name="Registration_group_1_ExpertiseAreas" value="Trauma" id="Registration_group_1_ExpertiseAreas_22">
To:
<input type="checkbox" name="Registration_group_1_ExpertiseAreas[]" value="Trauma" id="Registration_group_1_ExpertiseAreas_22">
I believe I then have to make adjustments to:
"".((isset($_POST["Registration_group_1_ExpertiseAreas"]))?$_POST["Registration_group_1_ExpertiseAreas"]:"") .""
using explode? Is this the code I need to change? Any idea what the code should look like or any help whatsoever would be much appreciated?