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); 
?>