i have 2 multidimensionals arrays
eg:
$data[0] = "value1, value2, value3, value4, value5";
$data[1] = "name1, name2, name3, name4, name5";
how can i join them together so that each value in data[0]
takes the name from data[1]
output should be foreach value:
$newarray[0] = Array('value'=>'value1', 'name'=>'name1');
$newarray[1] = Array('value'=>'value2', 'name'=>'name2');
and so on
Thanx ;)