so what you’ll get is an array (collection) of arrays (called a multi-dimensional array. but thats neither here nor there).
$contacts[0][‘email’] says: In the array of contacts, choose the 0th (numerical arrays constructed in this manner are numbered from 0, so 0 = first) element [which is an array], and give my the element of that array which corresponds to the key name ‘email’.
So to get email2, you’d want $contacts[1][‘email’], etc.
If you want to see what it looks like; after the for is closed, put this line:
print_r($contacts);
This will output the array to the screen (you might want to View Source, otherwise it will look ugly.), so it will make a bit more sense to you.