What's the best way to collect data from a form using checkboxes so it's nicely grouped into one array from the $_POST array in the receiving page.
For example, in my form i'll have HTML which looks like this (x = ticked):
[x] Option One
[ ] Option Two
[x] Option Three
which i want to translated into an array from the $_POST array:
Array
(
[a] => "Option One"
[b] => "Option Three"
)
Is there a nice shortcut to doing this?