Or maybe you are looking for the nl2br() function ...

Tom Woody wrote:

While I am not exactly sure of everything you are asking I think I had
a similar problem...

You need to convert the \r to \n before you put it into the DB.

On Mon, 28 Oct 2002 19:30:15 +0100
"Raymond Lilleodegard" <[EMAIL PROTECTED]> wrote:

I have made a guestbook to my website driven by php and mysql.

But I don't know how to get the text as it is written in the textfield
before it is sent to mysql. So is it possible to save the "hits on
enter" in the database?

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to