Forum Moderators: coopster
I have a mySQL DB with a table that has a data type text. There are 1000's of entries some of them does not need php based nl2br() and some of them requeires it. If I use
nl2br($text)
for some entries it is showing properly as
line one
line two
line three
while for some it shows
line one line two line three
Please tell me how can I fix this problem. I will be happy if I can fix the entries in the DB it self however if there is a way I can show it properly in php it will be fine too.
Thanks
Bye