HTML Code ::
value1 value2 value3 value4
php code::
$checkBoxValue = join(", ", $_POST['arrayValue']); // here first (,) is user-define // means, you can change it whatever // you want, even if it can be (space) or others
now you get the whole value of 'checkbox' in one variable