Hi all,
I’ve got a problem while still at the planning stage for a site. I’m giving a client some XML data with a project, which he will be able to change to edit his site (obviously). One problem I am having while considering the site is building a multi-dimensional array that allows for non-declaration of size for both vectors of the array, as I have no prior knowledge of how many different sub categories my client will eventually want to use, and would rather work around this than impose upper limits!
what I’ve used in the past is :-
list1 = new Array();
list2 = new Array();
list3 = new Array();
main_list = new Array(list1,list2,list3);
But obviously this isn’t great if he wants more than 3 mp3 lists, so how can I get this second vector “delimited” as it were…?
myArray = new Array([],[]);
This kind of setup would be useful, but I just cannot figure this one out.
Thanks in advance guys and gals!!!