i have asked this one before.
fgetcsv() read data from csv files. it must be a reverse function to write the data to the csv files.
i asked this question. i was told no, there is not a reverse to fgetcsv(). but it makes great sense to have one.
is there anyone writting one of this kind function reverse to fgetcsv() by themeselves?
it seems not so difficult. reading data by column, separate them by comma, test if the value has comma in it, the value will be in quote quote, and the double quote " in the value will be escaped by double double quote "" ...
but i would like to leave this work to the more experienced php programmer.
any help?
Thanks!