Hey everybody,
I am outputting data to aan DOS ascii file. Hoe do I write a linebreak? I have tried:
fwrite($fp, '\n');
But that doesn't dpo the trick (It really puts \n in the file..)
Thanks!
J.
You cannot create a new-line when using \n inside ' and '. It must be inside " and "..!
// on windows fwrite($fp,"\r\n"); // all the others fwrite($fp,"\n");
Hehe,
So simple!!
I could have though of that one myself. But since I didn't.. Thanks! I owe you one!