I have this, and want to add a new line after each entry, ...?
PHP Code:<?php
$val = $_GET['data'];
$myFile = "testFile.txt";
$fh = fopen($myFile, 'a') or die("can't open file");
$stringData = $val;
fwrite($fh, $stringData);
fclose($fh);
?>
|
Results 1 to 8 of 8
Threaded View
|
Click Here to Expand Forum to Full Width |