You are here: Re: Fester Bestertester « PHP Programming Language « IT news, forums, messages
Re: Fester Bestertester

Posted by Ivan Marsh on 08/27/07 21:54

On Mon, 27 Aug 2007 14:39:59 -0700, Fester Bestertester wrote:

> Hello all,
>
> Our Systems Team is creating a form that will enable users to submit an
> application,which includes an essay.
>
> The problem: When the user submits the essay through the text form
> field, the result we see is one solid block of text with no breaks. We
> are trying to avoid depending on the student to add <p> for each paragraph.
>
> What coding is required to translate the keystroke "Enter" as <p>, so
> the output will contain paragraph breaks. Of course, the code must be
> 508 compatible.
>
> Thanks for your help.

nl2br is what I use when working with text areas... Seems to maintain the
formatting pretty well.

--
I told you this was going to happen.

 

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

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