On Sunday 18 August 2002 04:22 pm, you 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.
I suspect that those tags are the problem,  because you are
telling the browser that this output has been formatted already.
Try using <p> .. </p> and let the browser format the text.
That way any \n, extra spaces etc will just be ignored.
>
> Any suggestions?
>
> Thank you!
>
> Bo

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

Reply via email to