PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
Illusionist
Forum Regular
Posts: 903 Joined: Mon Jan 12, 2004 9:32 pm
Post
by Illusionist » Thu Jan 22, 2004 9:24 pm
i'm writing data to a textfile, and would like to include a character return....
Illusionist
Forum Regular
Posts: 903 Joined: Mon Jan 12, 2004 9:32 pm
Post
by Illusionist » Thu Jan 22, 2004 9:31 pm
nevermind, i got it!
I was just using /n and /r by themselves, so i put them together, and it works now!
twigletmac
Her Royal Site Adminness
Posts: 5371 Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK
Post
by twigletmac » Fri Jan 23, 2004 4:11 am
You're on windows then
?
Windows: \r\n
Unix/Linux: \n
Mac: \r
Isn't consistency great.
Mac