I have a piece of simple PHP -
$f=fopen("name.txt", a);
$string="dave";
fwrite($f, $string."\n"
;
but the '\n' does not insert a new line in the text file. Why?
I've been staring at this problem for so long but I just can't see the answer! It's such a simple thing!
Please help. I think I'm going crazy.
James