[PHP] Re: \n is not working!

2004-04-04 Thread DvDmanDT
> echo "This doesn't work\n'; // Displays: This doesn't work\n Seems to me like that would generate parse error.. :s But yea, we get your point.. :) -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

[PHP] Re: \n is not working!

2004-04-04 Thread Monty
\n must be included in double-quotes because it's treated like a variable. echo "This works\n"; // Displays: This works echo "This doesn't work\n'; // Displays: This doesn't work\n > From: [EMAIL PROTECTED] (Labunski) > Newsgroups: php.general > Date: Mon, 5 Apr 2004 00:58:35 +0300 >