P
plork
hi all, i'm calling a method that returns an array of arrays
[???] = id, title, desctiption
e.g.
[0] = "1000", "aaa", "some text"
[1] = "1000", "bbb", "some text"
[2] = "1000", "ccc", "some text"
[3] = "2000", "ddd", "some text"
[4] = "2000", "eee", "some text"
[5] = "3000", "fff", "some text"
[6] = "3000", "ggg", "some text"
[7] = "3000", "hhh", "some text"
[8] = "4000", "iii", "some text"
[9] = "5000", "jjj", "some text"
[10] = "6000", "kkk", "some text"
etc...
I do not know how many array will be with id 1000, or id 2000 or id
3000 etc...
Can someone show me how i can iterate through the array so i can
display the results
e.g. if id = 1000 - get the results and display, then get the next id
and the next etc
Thansk for any help
[???] = id, title, desctiption
e.g.
[0] = "1000", "aaa", "some text"
[1] = "1000", "bbb", "some text"
[2] = "1000", "ccc", "some text"
[3] = "2000", "ddd", "some text"
[4] = "2000", "eee", "some text"
[5] = "3000", "fff", "some text"
[6] = "3000", "ggg", "some text"
[7] = "3000", "hhh", "some text"
[8] = "4000", "iii", "some text"
[9] = "5000", "jjj", "some text"
[10] = "6000", "kkk", "some text"
etc...
I do not know how many array will be with id 1000, or id 2000 or id
3000 etc...
Can someone show me how i can iterate through the array so i can
display the results
e.g. if id = 1000 - get the results and display, then get the next id
and the next etc
Thansk for any help