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 #175494 is a reply to message #175490] Sun, 02 October 2011 16:36 Go to previous messageGo to previous message
Linus Flustillbe is currently offline  Linus Flustillbe
Messages: 2
Registered: October 2011
Karma:
Junior Member
On 2011-10-02, Jeff Gaines <jgaines_newsid(at)yahoo(dot)co(dot)uk> wrote:
> 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.
>

or we could use a <p> to force a paragraph switch.
Thanks all for your help, I have it working now.


--
*************************************************************************** *****
* Usenet Impovement Project http://nacs.dyndns-office.com/usenet
* Bakers trade bread recipes on a knead-to-know basis.
*************************************************************************** ******
[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 02:38:43 GMT 2024

Total time taken to generate the page: 0.05050 seconds