Say for example you had a file like this:
1, 2, 3, 4
apples, oranges, bananas
cats, dogs, snakes, hamsters
And say if you wanted to append it so that the second line read: apples, oranges, bananas, mangos
How would you do this. When learning PHP I couldn't find any tutorials that explain how to do this so I am a bit lost. Thanks.