Page 1 of 1

Line Breaks on PCP Base page

PostPosted: Fri Jan 04, 2008 11:05 am
Author: spaniel
i've converted user_interests to a Text box in the db and now would like to enable line breaks.

I believe a bbcode replace .script might do it, such as

Code: Select all
$code = str_replace( "n", '<br>', $code);



But what do I replace $code with and where do I put it? Do I also need to bbcode-enable the user_interests box?



Much appreciated.