Topic: newbie question on arrays (take 2..)
I've got an array set up like this:
PEOPLE = ["jack", 32, 175, 168],
["sarah", 25, 110, 155],
["ricky", 44, 200, 170]
I'm not sure what that's called.. an array, an array of arrays? Anyway, what I want to do is get just a list of the names (jack, sarah, ricky) and then pass the other 2 variables to my controller based on which name is selected.
Do I have to put this into a database or is there a way to grab what I need to?