I am having some trouble with arrays
I want a 2d array and to be able to populate this array in a loop. Column 1 will be called 'id' and column 2 will be 1 of 5 different names
ie:
id | title1 = [0],[23]
id | title2 = [0],[21]
id | title3 = [0],[43]
id | title4 = [0],[53]
id | title5 = [0],[7]
id | title1 = [1],[3]
id | title2 = [1],[21]
id | title3 = [1],[35]
id | title4 = [1],[39]
id | title5 = [1],[17]
id | title1 = [2],[3]
id | title2 = [2],[21]
id | title3 = [2],[35]
id | title4 = [2],[39]
id | title5 = [2],[17]
I want a 2d array and then a for loop to populate that array, setting id to the iteration count in the for loop and setting the 2nd dimension (title1, title2 etc.) to a variable
Any help with this is appreciated
Thanks,
Martin