the column is like in excel, or other database etc.
there must be a reverse function to fgetcsv(), it is easy to do and definately needed by many people.
do i really to have write this myself? i have the basic ideas as you suggest.
when i write this, i have to take care the values with comma but quoted them in the double quotes " ".
therefore, i also need to escape the double quotes, by using "" for " in the value to avoid the confustion.
that is all I have to take care? if that is so. why this simple function is not in anywhere?
someone must already have written this.
thanks!