Please don't mind my 'not-perfect' English, It's not my primary language.
I know there have been a lot of posts about this subject, but I still can't find out how to do it exactly.
I picked this from PHP.net:
$string = eregi_replace('<br[[:space:]]/?[[:space:]]>', "\n", $string);
where should I put this? Just after the while when recalling the data from the db, or when I put it into the db?
vincent wrote:
allmost everybody knows it.
nl2br()