You are here: Re: Text Area Forms and How Data is Stored « PHP Programming Language « IT news, forums, messages
Re: Text Area Forms and How Data is Stored

Posted by Zilla on 10/12/05 17:23

Robizzle wrote:
[snip]
> "this is a test. There is a new
> line between the words 'new' and 'line'"
>
> I end up with a news post that looks like "this is a test. There is a
> newline between the words 'new' and 'line'".
[snip]

My guess is that you don't convert newlines to <br>'s when you show the
posts. Html doesn't show a new line if there is just a newline. It needs
a <br> tag.

Take a look at this:

www.php.net/nl2br

Hope it helps.

Zilla.

 

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

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