You are here: formatting paragraphs in to strings « PHP « IT news, forums, messages
formatting paragraphs in to strings

Posted by Paul Nowosielski on 06/13/05 22:06

Hi,

I'm having a perplexing problem. I'm gather data through a <textarea>
html from field and dumping it to MySQL.

I want to display the data as a long string with no carriage returns or
line breaks in a dhtml div window.

The problem I'm have is that the form data is remembering the carriage
returns. I tried using trim() and rtrim() with no luck. The data is
still formatted exactly like it was inputed.

Any ideas why this is happening and how I can format the text properly??

TIA!


--
Paul Nowosielski
Webmaster CelebrityAccess.com
303.440.0666 ext:219

 

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

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