FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Question about new lines
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Question about new lines [message #175490 is a reply to message #175489] Sun, 02 October 2011 14:17 Go to previous messageGo to previous message
Jeff Gaines is currently offline  Jeff Gaines
Messages: 11
Registered: October 2011
Karma:
Junior Member
On 02/10/2011 in message <4e886e7b$0$5356$9a566e8b(at)news(dot)aliant(dot)net> Linus
Flustillbe wrote:

> Should the "\n" not push a NewLine out to the output?
> I did some research and found that the PHP_EOL seems to be what is
> recommended since it is platform independant. But it doesn't work
> either.

I would use:

echo "<br />";

Which will force a line break in HTML.

--
Jeff Gaines Wiltshire UK
I take full responsibility for what happened - that is why the person that
was responsible went immediately.
(Gordon Brown, April 2009)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: comparing dates?
Next Topic: hai
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 01:03:20 GMT 2024

Total time taken to generate the page: 0.03466 seconds