Reply to Linebreak problems when copy&paste from word

Your name:

Reply:


Posted by Georg Weiler on 11/23/05 21:05

Hi,

I have a form, where the user enters text. After submit, the text is
then inserted into a PostgreSQL database. So far, so good.

The problem is, that most of my users copy&paste their text from MS Word
into the textbox. Now I have these (hidden) linebreaks in the string
that cause trouble when I furter process the text.

Is there a way (maybe just a simple PHP command) to get rid of these
formating things. I presume I would have to kind of "convert" the string
to unformatted text somehow.

Thanks for your input,
georg

[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

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