Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php fwrite new line

$data = 'my data' . PHP_EOL . 'my data';
$fp = fopen('my_file', 'a');
fwrite($fp, $data);
fclose($fp);
 
PREVIOUS NEXT
Tagged: #php #fwrite #line
ADD COMMENT
Topic
Name
4+9 =