How do I read a csv file, sort it and write it again in a modified way. Sure, I can do it manually in Excel in three steps. However, it needs to be done automatically through a script. Any ideas? Your help is very much appreciated.
[man]fgetcsv/man [man]file_put_contents/man
Thank you my friend. I did not think it could be that easy. I am sure I can figure out the rest I need for these functions.
You might want to also look at [man]fputcsv/man for the writing part, depending on your needs.