Ace Master
Centurion
- Joined
- Aug 28, 2003
- Messages
- 140
I have 2 arrays with data like this
ex:
first:
ID,NAME
1,ACE
2,BLA
3,ACE2
....
15,BLA3
second
ID,TIME,VALUE
1,04:20,3
2,04:55,6
........
15,02:30,5
How to make this array fron those 2?
ID,NAME,TIME,VALUE
1,ACE,04:20,3
.....
15
And another important isue :
the first array is allways with all 15 values, but maybe the second one (dinamicaly generated) have some missing id's like this:
ID,TIME,VALUE
1,04:20,3
3,04:55,6
........
15,02:30,5
and in this case I want this array as result:
ID,NAME,TIME,VALUE
1,ACE,04:20,3
2,0,0
.....
15
any help will be appreciated.
thanks
ex:
first:
ID,NAME
1,ACE
2,BLA
3,ACE2
....
15,BLA3
second
ID,TIME,VALUE
1,04:20,3
2,04:55,6
........
15,02:30,5
How to make this array fron those 2?
ID,NAME,TIME,VALUE
1,ACE,04:20,3
.....
15
And another important isue :
the first array is allways with all 15 values, but maybe the second one (dinamicaly generated) have some missing id's like this:
ID,TIME,VALUE
1,04:20,3
3,04:55,6
........
15,02:30,5
and in this case I want this array as result:
ID,NAME,TIME,VALUE
1,ACE,04:20,3
2,0,0
.....
15
any help will be appreciated.
thanks