Re: [PHP] Date Problem with \n

2007-08-13 Thread Richard Lynch
On Mon, August 13, 2007 12:50 pm, Kevin Murphy wrote: > Small issue with formatting a date. If I type in this: > > echo date("g:i:s a \o\n l F j, Y"); > > the "n" character in the word "on" doesn't appear, but instead what I > get is a new line in the source code. If I type it as: > > echo date("g:

Re: [PHP] Date Problem with \n

2007-08-13 Thread Jim Lucas
Kevin Murphy wrote: Small issue with formatting a date. If I type in this: echo date("g:i:s a \o\n l F j, Y"); the "n" character in the word "on" doesn't appear, but instead what I get is a new line in the source code. If I type it as: echo date("g:i:s a \on l F j, Y"); I get the number 8 (

[PHP] Date Problem with \n

2007-08-13 Thread Kevin Murphy
Small issue with formatting a date. If I type in this: echo date("g:i:s a \o\n l F j, Y"); the "n" character in the word "on" doesn't appear, but instead what I get is a new line in the source code. If I type it as: echo date("g:i:s a \on l F j, Y"); I get the number 8 (current month) where