I have this javascript code:
var allVals = [];
$('#c_b :checked').each(function() {
allVals.push($(this).val());
});
alert(allVals + "is checked!");
The code above, will list all the checked values from checkboxes like this: value,value,value
How can I, when submitting my form, store those values in a PHP array, so I can use them?