Notes: 1. The array subscripts specified do not have to be numerical -- you can use strings as well. In that case $_POST['foo'] would be an associative array.
2. You don't have to specify indices at all in the names of your fields -- "foo" will work, too. This can be useful in cases where you don't care to maintain any relationships between fields. To collect input from a set of checkboxes, for example.