Return Character in a Text File?

From: Date: Thu, 27 Mar 2003 18:07:33 +0000
Subject: Return Character in a Text File?
Groups: php.general 
Request: Send a blank email to php-general+get-141273@lists.php.net to get a copy of this message
I have a slight problem. Is there anyway to make a text file with a return character that doesn't show up in windows notepad as a gibberish character and actually puts a return in it? Right now I'm using the "\n" for the return but it doesn't get read in notepad as a return so the string data is one long line instead of multiple lines. Is there any other way of doing this? Code I am using: $data = ""; //loop $data .= "$firstName, $lastName, $email, $gender, $bday, $phone, $zip,\n"; //end of loop Thanks!

« previous php.general (#141273) next »