OK, so I'm logging user input to a text file, and i want each message to be on its own line. so for example, i have:
$pointer = fopen("log.txt","a+");
fwrite($pointer,"$input\n");
fclose($pointer);
I would want it to look like:
Input 1
Input 2
Input 3
but the \n fails to make a new line, so all the messages run together, making it impossible to separate them and print them out work with each line separately when the time comes to display them:
Input1Input2Input3
Help, please?