用php插入数据到文本文件当中,怎么实现插入的数据换行?

WBOY
Release: 2016-06-02 11:34:51
Original
1153 people have browsed it

php换行记事本

我加了“\n” 为什么不能实现自动换行
file_put_contents("log.txt",$real_name." ".date('Y-M-D h:m:s')." 插入成功!\n");

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template