小编U.a*_*zar的帖子

如何在不删除所有数据的情况下在php中写入文本文件

如何在不删除所有现有数据的情况下写入文本文件?我试过这个

$txt = 'srge';
$file = fopen('text.txt','w');
fwrite($file,$txt);
Run Code Online (Sandbox Code Playgroud)

但它不起作用,一切都在耳边

php

3
推荐指数
1
解决办法
3785
查看次数

标签 统计

php ×1