Forum Moderators: coopster

Message Too Old, No Replies

why two paragraphs join together after select it from database

         

xbl01234

10:12 am on Oct 19, 2008 (gmt 0)

10+ Year Member



Hi;
why two paragraphs join together after i select them from database and display it to my website ? How i can make them seperate each other ? could any one help ?

i want two paragraphs as following;

This is the first paragraphs.

This is the second paragrahs.

and the following is not correct;

This is the first paragraphs.This is the second paragrahs.
thanks

Pico_Train

1:54 pm on Oct 19, 2008 (gmt 0)

10+ Year Member



<?php echo nl2br($var['paragraph']);?>

[edited by: Pico_Train at 1:56 pm (utc) on Oct. 19, 2008]

xbl01234

10:29 pm on Oct 19, 2008 (gmt 0)

10+ Year Member



Thanks a lot