PHP fwrite() 函数写文件

$file = fopen("test.txt", 'a');
$file.fwrite($file,"\n写入一行新数据");
fclose($file);

 

posted @ 2023-04-27 09:34  mingruqi  阅读(10)  评论(0编辑  收藏  举报