i have a csv file with data shown in the picture.What i want to do is,read the csv file and make a multidimensional array given below
Array(
array(
[ZAIN BUSINESS EMPIRE PVT LTD]=>['10684054','10686738','10686688','10684062']
),
);
I have read the csv and stored the name of companies and ids in separate arrays.
$file_name=$_FILES['file_upload']['tmp_name'];
$csv = array_map("str_getcsv", file($file_name,FILE_SKIP_EMPTY_LINES));
$keys = array_shift($csv);
foreach ($csv as $i=>$row)
{
$csv[$i] = array_combine($keys, $row);
}
foreach ($csv as $data)
{
$company_id_arr[]=$data['Customer_ID'];
$name[]=$data['STANDARD NAME IN M2M DB'];
}

['10684054','10686738','10686688','10684062']? what about other id's.Also what's the column-name for these entries?Array()around it all? Or in other words, I don't understand the result you want. It's unclear.