A
Aaron
Guest
help me? This is my first time I'm working with PHP. What I need is to save a text file on my server using PHP. For example:
I have tree variables and I need to save each variable in on a different line. How can I do this?
I have read allot about this on the internet and they say that different OS have a different"new line character". But what OS are they talking about. The one of the server or the one of the clients computer.
My servers OS is linux.
I know that \n is a new line char. But It is for Linux. Windows uses \r\n and mac uses \r.
I have tree variables and I need to save each variable in on a different line. How can I do this?
I have read allot about this on the internet and they say that different OS have a different"new line character". But what OS are they talking about. The one of the server or the one of the clients computer.
My servers OS is linux.
I know that \n is a new line char. But It is for Linux. Windows uses \r\n and mac uses \r.