Answers for "how to write values to text file in php"

PHP
8

write to file php

$myfile = fopen("newfile.txt", "w") or die("Unable to open file!");
fwrite($myfile, "Content to write to file");
fclose($myfile);
Posted by: Guest on October-22-2020

Code answers related to "how to write values to text file in php"

Browse Popular Code Answers by Language