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. 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 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> 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 Link to comment https://forums.phpfreaks.com/topic/67855-displaying-bbcode/#findComment-341232 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.