Reply to Re: newbie question: can't make newline character work in echo

Your name:

Reply:


Posted by Stephen Kay on 03/21/06 21:29

in article M46dnWlVLO0o0r3ZnZ2dnUVZ_s-dnZ2d@comcast.com, Jerry Stuckle at
jstucklex@attglobal.net wrote on 3/21/06 2:08 PM:

> This isn't a PHP problem - it's how HTML works. Newline characters are
> ignored. Instead, you need to use <br> to start a new line.
> See the nl2br() function.

Thanks - I didn't think of looking at the source instead of the screen
output. Makes total sense. I've got it doing what I want now.

--
Stephen Kay
Karma-Lab sk@karma-lab.NOSPAM.com
^^^^^^^

[Back to original 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

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