Line break not working when writing to text file in PHP

后端 未结 4 1098
执念已碎
执念已碎 2020-12-03 02:34

I have the following test script:



        
4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-03 03:21

    Your code runs fine.

    Use Notepad2 or Notepad++ if you're working on Windows. The built-in Notepad is unable to cope with Unix-style line endings.

提交回复
热议问题