Using arrays with checkboxes

We have all used checkboxes, to add features, assign permissions, etc. There is a method you can use do give the same name to each checkbox, with a different value...