<?php
$fileopen = fopen('word.txt','a+');
fwrite($fileopen, $text);
?>
Im using this tiny code to write the variable $text to a textfile! However... I want it to start a new line after each entry.
Currently if I send two strings at two diffrent times, the result is:
string1string2
I want it to be:
string1
string2
Newline \n doesnt seem to work.. what can I do?