Page 1 of 1

New Paragraphs

Posted: Thu Oct 03, 2002 7:53 pm
by birchtrees
Hello
I am inserting a long description on my page from a mysql database. My problem is I can't create a new paragraph on my web page. I have tried the 0182 code but it doesn't work. I realize it must be simple but I'm not sure what to do.
Thanks very much

Try This

Posted: Thu Oct 03, 2002 8:07 pm
by icesolid
Have you tried to use the wordwrap(); or nl2br(); function. I believe it will help solve your problem.

Posted: Thu Oct 03, 2002 10:07 pm
by mr_griff
If the text already has formatting for paragraphs, you can also try the nl2br function.

http://www.php.net/manual/en/function.nl2br.php