[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 >

[PHP] Re: \n outputs \r\n ??

2003-05-31 Thread Michael Isaacs
Thanks for the promp replies to my message. After a bit of testing, running command line, and doing some debugging, I found that it was an ftp statement that was causing the problem. It was sending the file I was creating (which was correct) in ASCII format and this was changing the LF to CRLF.

[PHP] Re: \n outputs \r\n ??

2003-05-30 Thread Catalin Trifu
Hi, If indeed \n puts CRLF pairs, which i doubt, you can use the hex code for LF which is 0x0A istead. Cheers, Catalin "Michael Isaacs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Still new to PHP - any assistance would be very much appreciated... > > I am using a p

[PHP] Re: n

2002-07-31 Thread Bruce Riddle
Tomasz Zolnierczyk wrote: > > subscribe [EMAIL PROTECTED] > > = > Tomasz Zolnierczyk > > "The Path Of Excess Leads To The Tower Of Wisdom" > - W. Blake > > __ > Do You Yahoo!? > Send instant messages & get email alerts with Yahoo! Messenger.

[PHP] Re: \n not working

2001-09-16 Thread Gaylen Fraley
If you are trying to use \n for a new line in HTML code, it will not work. In other words echo "Hello\nWorld instead. Also, be sure that you are using double quotes instead of single quotes. Single quoted text is literally interpreted. -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com