Hi
I want to make a txt file, and write multiple lines to it from different strings.
it should look like this:
string one string two etc etc
How do I make the linebreak between each line
sincerely Kurt
<? $fp = fopen ("file.txt", "w"); fwrite($fp,"string one\nstring two\netc\netc"); fclose($fp); ?>
ali
\r\n for Windows systems - if you want the file to be readable on Windows machine.