Line Breaks on PCP Base page

Support for IntegraMOD 141

Moderator: Integra Moderator

Line Breaks on PCP Base page

PostAuthor: spaniel » Fri Jan 04, 2008 11:05 am

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.
Last edited by spaniel on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 4:29 pm
Cash on hand: 0.00

Return to IntegraMOD 141

Who is online

Registered users: Bing [Bot], Google [Bot]

cron