|
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
Navigation:
[Reply to this message]
|