You are here: Re: How to have line breaks in this text « PHP Programming Language « IT news, forums, messages
Re: How to have line breaks in this text

Posted by BKDotCom on 11/30/06 01:40

Rock wrote:
> Hello,
>
> I am going bananas trying to get text breaks and empty lines into this text
> which is sent in an email.
>
> I have tried "'s and \n and r\n\ but the text in the email still wraps and also
> I see the code in the text.
>
> Can anyone help me please as I have Googled and searched but to no avail.

If you're "testing" it by echoing it out to your browser, \n's simply
won't do... you'd need to htmlify it with <BR />s

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация