My current code is below and I would greatly appreciate any help.
Code: Select all
<?php
$myFile = "textfile.txt";
$fh = fopen($myFile, 'a') or die("can't open file");
$stringData = "567\n";
fwrite($fh, $stringData);
$stringData = "1293\n";
fwrite($fh, $stringData);
fclose($fh);
?>