I have this PHP page :
For some reason I can't paste it here properly
I am able to write to file only in the last row, not all rows. As seen above I have tested using echo if I am displaying all content. I do, but for some reason can't write all of it to file.