If I understand you correctly
I don't think you are after a multi-dimensioned array. If you are, then the previous posts have answered that for you.
I think you want two arrays. One for names, and one for salutations perhaps.
Names
Dan
John
...
Salutations
Hello
Gidday
Bye
Ciao
...
If you actually want every combination possible to be stored in an array - Then this is when a multi-dimensional array would be of use to you because then you will be able to get to any combination by knowing the index number of the name and of the salutation (i.e. the order you filled the array in).
Post back if you need more help and someone will clarify...
Regards