array quick q
Posted: Sat Jan 22, 2005 10:36 pm
ok i have 2 arrays
the 1st array looks like this aaa,bbb,ccc,ddd
the 2nd array looks like this 1,4,3,7
i want the output to be this
aaa - 1
bbb - 4
ccc - 3
ddd - 7
i tried a foreach loop inside another foreach loop but that clearly was not the answer. any sugestions?
the 1st array looks like this aaa,bbb,ccc,ddd
the 2nd array looks like this 1,4,3,7
i want the output to be this
aaa - 1
bbb - 4
ccc - 3
ddd - 7
i tried a foreach loop inside another foreach loop but that clearly was not the answer. any sugestions?