PHP·98 questions

How to work with CSV?

Answer
fgetcsv() — read line.
fputcsv() — write line.
array_map(function($v){return str_getcsv($v);}, file('data.csv')).
League\Csv — library.
Encoding: mb_convert_encoding().
Was this answer helpful?

More questions in this topic

Related questions from other topics