Writing at the begining of the .csv file
Posted on 2007-03-30
I have a .csv file in following format:
Each row represents one record. I need to write some $result at the begining of each row as one more field/column.
The value of $result will be different for each row, so I know I need to do something like - foreach to go to the next row
but don't know how to do it.