Thanks for the quick reply. um..i am not quite understand the logic...but let me explain more about what i want to do.
Let say. i have
array1 = ['301','302','303','304'];
array2 = ['T','T','F','T'];
I want to combine these 2 arrays into one array with key and value so that:
newArray['301'] = 'T', newArray['302'] = 'T', ...etc.
I like to use a for-loop such as:
for ($i=0;$i<4;$i++) {
// how to be done?
}