Think before you speak, read before you think.

php调试-写变量到文件

by

in

写变量到文件

$myfile = fopen("./testfile.txt", "w");
$txt = "Jane Doe\n";
fwrite($myfile, $txt);
fwrite($myfile, $query);
fclose($myfile);

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *