Answers for "how do i name the text document to 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 do i name the text document to php"

Browse Popular Code Answers by Language