Really sorry if this has been asked before, I have been searching for 2 days and havent managed to find it
I am trying to submit a form that includes multiple checkboxes which are in an array into a mysql database where the results can be viewed on a seperate page later.
But the only output i am getting is the word "Array"
I know i have done something wrong somewhere but can't figure it out.
My forms method is "post"
and the code for the checkboxes:
Code: Select all
<input type="checkbox" name="bodytypeї]" value="Average" /> Average
<input type="checkbox" name="bodytypeї]" value="Above Average" /> Above Average
<input type="checkbox" name="bodytypeї]" value="Below Average" /> Below AverageCode: Select all
if ( is_array($_POSTї'bodytype']) )
{
$cat_list = implode(',', $_POSTї'bodytype']);
} else {
$cat_list = '';
}Any help would be much appreciated.
Regards
Ross