I want to write a file named file.txt with some strings for example
$string1=one
$string2=two
but when I do it like this:
<?
$file=fopen("file.fux", "w");
fwrite($file, $string1);
fwrite($file, $string2);
fclose($file);
?>
it writes it in one line
onetwo
how to write it like this:
one
two
please help me with it