Tags, quotes, textarea and mysql

Tags, quotes, textarea and mysql

am 27.12.2007 23:52:02 von kenoli

I would like to allow an admin user to enter line returns or html tags
in a text area, store them in a mysql table and then retrieve them and
display them in a web page as formatted text, e.g.:

\n\n becomes


\n becomes

Re: Tags, quotes, textarea and mysql

am 28.12.2007 19:19:59 von Michael Fesser

..oO(kenoli)

>I would like to allow an admin user to enter line returns or html tags
>in a text area, store them in a mysql table and then retrieve them and
>display them in a web page as formatted text, e.g.:
>
>\n\n becomes


>\n becomes

>

Re: Tags, quotes, textarea and mysql

am 31.12.2007 22:09:05 von kenoli

Micha -- Thanks. Your code helped and I have worked something out that
works. I thought I had seen a script someone had designed to do this
and that I might find someone on the list that knew about it.

Happy New Year,

--Kenoli

On Dec 28, 10:19=A0am, Michael Fesser wrote:
> .oO(kenoli)
>
> >I would like to allow an admin user to enter line returns or html tags
> >in a text area, store them in a mysql table and then retrieve them and
> >display them in a web page as formatted text, e.g.:
>
> >\n\n becomes


> >\n becomes

> >