The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> BBCODE plugin?
asmith
post Aug 8 2008, 03:15 PM
Post #1


Advanced Member
****

Group: Members
Posts: 198
Joined: 26-December 07
Member No.: 4,586



Hey guys

I am getting some messages from my forum database manually and printing them on a non-forum page.( which BBCODE is not set. )

At first I was doing some php codes for the changes like :

CODE
$content = str_replace("[b]","<b>",$content);
$content = str_replace("[/b]","</b>",$content);


But as people began to use more and more BB Codes, It is running out of my hands...

Wanted to know is there any plugin or something that I could filter my $content with that and echo it right in non-forum pages?

Thanks

This post has been edited by asmith: Aug 8 2008, 03:16 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 11:38 PM