Yngvarr

Generation

generate functionSat, 04 Feb 2023

write to sile

<?php $myfile = fopen("newfile.txt", "w") or die("Unable to open file!"); $txt = "John Doe\n"; fwrite($myfile, $txt); $txt = "Jane Doe\n"; fwrite($myfile, $txt); fclose($myfile); ?>

Questions about programming?Chat with your personal AI assistant