Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

append new line php

$data = 'some data'.PHP_EOL;
$fp = fopen('somefile', 'a');
fwrite($fp, $data);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #append #line #php
ADD COMMENT
Topic
Name
4+5 =