arrays - Create a CSV file with PHP -
I need to create a CSV file from the PHP array, let me remember fputcsv ()
That there is a better work for such things, but I can not find it or remember its name. What
Is anyone aware of this kind of work or am I imagining? There may be some confusion with
< fgetcsv ()
function and str_getcsv ()
equivalent.
With the CRV format, write the array in the file. To read the data from the file with the CSV format and convert it to an array. And to convert the string into a string CRV format.
Then fputcsv
and fgetcsv
are their related inversions fgetcsv
can be a function that is str_getcsv
.
Comments
Post a Comment