You are here: Re: display line break « HTML « IT news, forums, messages
Re: display line break

Posted by jojo on 10/09/06 19:51

RvT wrote:

>> the input is captured in <textarea>
>> there are line breaks.
>> how to display line breaks when using response.write? Thanks a lot.
>>
>> tony
>
> A line break is represented by chr(13), so you have to replace chr(13)
> by a <BR />.
>

You could also put the whole text into a <pre> (unless is's a complete
html-document with <head> and <body> or the input includes any tags
which aren't allowed in a <pre>). Would perhaps be more easy than
replacing all line breaks...
HTH, jojo

 

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

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