Is it Posibble question of the day:Variables and Arrays

Is it possible to get values for a variable from an array.
How would i do this? Also, working examples would be great if u guys know of any.

Thanks