Re: [PHP] Print '\n' not working

2003-06-25 Thread Chris Shiflett
--- Koch-1 Linda <[EMAIL PROTECTED]> wrote: > I am using PHP 4, Apache, but the '\n' is not going to the next > line during a print. There are probably two issues here. One is that anything in single quotes gets translate literally, so '\n' will output \n whereas "\n" will output a newline charact

RE: [PHP] Print '\n' not working

2003-06-25 Thread Dan Joseph
Hi, > I am using PHP 4, Apache, but the '\n' is not going to the next > line during > a print. Has anyone else encountered this anamoly. in the case of: echo 'blah\n'; I've noticed it doesn't work. In the case of: echo "blah\n"; I've

RE: [PHP] Print '\n' not working

2003-06-25 Thread Koch-1 Linda
Adam caught my error. I was not thinking correctly. Thanks -Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED] You do know that the \n will only show up in View Source of an HTML page right? If you want it to show up in a regular browser window, you need . -- PHP General Mai

Re: [PHP] Print '\n' not working

2003-06-25 Thread Adam Voigt
You do know that the \n will only show up in View Source of an HTML page right? If you want it to show up in a regular browser window, you need . On Wed, 2003-06-25 at 13:05, Koch-1 Linda wrote: > I am using PHP 4, Apache, but the '\n' is not going to the next line during > a print. Has anyone el

RE: [PHP] Print '\n' not working

2003-06-25 Thread Jay Blanchard
[snip] I am using PHP 4, Apache, but the '\n' is not going to the next line during a print. Has anyone else encountered this anamoly. [/snip] show us the code...and what are you using to view the output file? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php