Hi all,
I’m working on a little gallery design that loads several different galleries from an XML file. I’m very well practiced so far with the various coding for this task, but I do have a question regarding arrays and objects.
What I want is to store all the image paths in a nested array/object of some kind, so that I could (for instance) access an image via: gallery*.image[j] . I considered using a multidimensional array but for some reason this just doesn’t make sense to me. If it wasn’t going to be totally dynamic, I would predefine 5 gallery arrays, but this is a limiting approach.
So, my question is, how can I create a nested array or object for this task? I know I’m missing something obvious, but I’m just not seeing it for some reason. Thanks for shedding some light!!!