NickLindeman Posted September 4, 2007 Share Posted September 4, 2007 Currently I've been working on a news script for my website and I've been pulling posts from a set forum but since they are displaying in plaintext I was wondering how I would go about displaying the bbcode tags correctly. For example, one of my posts the text is [b:0236504185]Links:[/b:0236504185] [url]http://www.wikipedia.org[/b][/url] Thank you for your time. Quote Link to comment https://forums.phpfreaks.com/topic/67855-displaying-bbcode/ Share on other sites More sharing options...
teng84 Posted September 4, 2007 Share Posted September 4, 2007 nice one again again explain more plxxzz Quote Link to comment https://forums.phpfreaks.com/topic/67855-displaying-bbcode/#findComment-341091 Share on other sites More sharing options...
NickLindeman Posted September 4, 2007 Author Share Posted September 4, 2007 I'm fetching the text from the database and it's in bbcode and I was wondering how I could go about displaying the bbcode in the correct format. [b][/b] to <b></b> Quote Link to comment https://forums.phpfreaks.com/topic/67855-displaying-bbcode/#findComment-341101 Share on other sites More sharing options...
AdRock Posted September 4, 2007 Share Posted September 4, 2007 Have a look here http://www.way2web.net/?bbcode It works perfectly Quote Link to comment https://forums.phpfreaks.com/topic/67855-displaying-bbcode/#findComment-341232 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.