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
> 


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

Reply via email to