Re: TEXT BOX + USER
| From: | Richard Baskett | Date: | Fri, 08 Mar 2002 18:00:06 +0000 |
| Subject: | Re: TEXT BOX + USER | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87798@lists.php.net to get a copy of this message | ||
Take a look at the 'nl2br' function. This will help you do what you want to
do ;)
Rick
"Do all the good you can, By all the means you can, In all the ways you can,
In all the places you can, At all the times you can, To all the people you
can, As long as ever you can." - John Wesley
> Hi,
>
> I have got a webiste where a user can update data using a text box.
>
> the user usualy use ENTER to create new lines or paragraphs.
>
> I want to save the data enter by user into MySQL database INCLUDING the
> new paragraph so that when I display the data on a webpage, the
> paragraph is still there.
>
> I have tried some testing but I always get the result entered by users
> are flat. The paragraphs are gone. How do I do this?
>
>
> regards,
>
> Dani
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>