I\'m writing a PHP script that adds numbers into a text file. I want to have one number on every line, like this:
1 5 8 12
If I use f
f
its because each time you write to the file, the file is being finished, file_put_contents inserts an extra line break at the end
file_put_contents