You could use tthe nl2br function.

   echo nl2br( $text_from_database );

-J
"Mark Hope" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am currently creating a website that pulls news articles from a mysql
database into a php page. The article is stored as a TEXT function in
the database, and is inserted by a single form field. What do I need to
do in order for the article to be displayed with the proper paragraph
breaks instead of a the continuous text it is now.


Mark



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to