It sounds like you want to use the nl2br() function. That will convert 
the new lines to HTML line breaks and give you the "paragraphs" that the 
user put in.

On Sunday, August 18, 2002, at 04:22 PM, bo wrote:

> I have a field in a form which allows user to upload thier 
> biographys.Once
> they upload a bunch of texts,the script I wrote automatically show it 
> on a
> webpage, however, the contents are all scrambled toghther without line 
> break
> and formatting..
> How am I able to show the formatted outputs?
> I tried to use <pre> </pre>, but it didn't work well.
> Any suggestions?
> Thank you!
> Bo
> --
> PHP Database Mailing List (
> To unsubscribe, visit:
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to