Reply to html textarea --> php mail function produces additional line break

Your name:

Reply:


Posted by Chris Schinzel on 01/12/06 12:10

Hi,

I'm reading text from a html textarea field (standard wrap
functionality, no value specified). If I display it via nl2br() (after
html form submission), everything's ok. But if I send it via mail() the
receiver gets each single line break (originating from textarea)
displayed by TWO line breaks. So the text needlessly gets inflated...
Can anybody help me out what to do to handle this problem?

Thanks in advance!

Regards,
Christian Schinzel

(copied from php.general)

[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

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