I there a php function that enables me to read a csv column (COLUMN NOT LINE) into an array or a string ?
thank you in advance.
$arr=array(); $row = -1; if (($handle = fopen("test.csv", "r")) !== FALSE) { while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { $num = count($data); $row++; for ($c = 0; $c < $num; $c++) { $arr[$row][$c]= $data[$c]; } } fclose($handle); }