Hi - I am using $fputs to write out strings to a text file like this:
if ($success= fopen("C:\actdata.txt",a)) {
$textout=$name . "\n";
fputs($success,$textout);
}
When I view the output in Notepad the lines do not start on a new line, but when I view the file in Word 97 they do.
Anyone know why this is?
How do I write out the text to notepad correctly?
Cheers, Tony