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
> 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
> 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!
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php