Re: How to get linefeed from textfields registered in mysql?
| From: | Raymond Lilleodegard | Date: | Mon, 28 Oct 2002 19:03:07 +0000 |
| Subject: | Re: How to get linefeed from textfields registered in mysql? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121768@lists.php.net to get a copy of this message | ||
Ok, thanks a lot! Thats what I thougt.
Regards Raymond
"Tom Woody" <woody@nfri.com> wrote in message
news:20021028122633.34f2979e.woody@nfri.com...
> 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" <raymol@online.no> wrote:
>
> > Hi!
> >
> > 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?
> >
> > Best regards Raymond
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> Tom Woody
> Systems Administrator
> NationWide Flood Research, Inc.
> phone: 214-631-0400 x209
> fax: 214-631-0800
>
> Don't throw your computer out the window,
> throw the Windows out of your computer!
>