Rominall - 6:07 pm on Jun 5, 2013 (gmt 0)
I'm working on displaying information on states.
So I have one array = STATE NAMES
I can make a 2D array for infoType
but there's more info for infoType.
For example: StateNames: Alaska, Alabama, Arizona,....
InfoType: Motto: We dare defend our rights, North to the Future, God enriches
Flag: y, y, y
Now flag (infoType) also has info such as content: White with red cross = Alabama, Blue with seal = Alaska.
I'm going to referencing this information frequently. Would it be better to create one BIG array with all the information in it, or smaller arrays for the information stuff and when there's a sub-info type create 2 d arrays for those?
Some states may not have all infoTypes and not all info of InfoType will have entries.
No- I'm not really doing the state stuff above - it was the closest I could come for an example. :D