Cultureshock Posted December 23, 2009 Share Posted December 23, 2009 How would I create BBCodes for my site? My site works by posting content to a database table, then by displaying the fetched array. I strip tags in order to keep content more safe. How would I then make it so I could use brackets as make-shift BBCode the same way as it would work on a forum? I'd only want to make: [b][/b] [u][/u] [i][/i] [hr] [url][/url] and [url=link.htm][/url] Quote Link to comment https://forums.phpfreaks.com/topic/186190-create-bbcodes/ Share on other sites More sharing options...
trq Posted December 23, 2009 Share Posted December 23, 2009 Have you tried searching the board for this? I'm sure this question has been covered plenty of times. Quote Link to comment https://forums.phpfreaks.com/topic/186190-create-bbcodes/#findComment-983333 Share on other sites More sharing options...
jonsjava Posted December 23, 2009 Share Posted December 23, 2009 follow these instructions. If you need help (you can't get the code to work, etc) post it here, and we will gladly help you out. Quote Link to comment https://forums.phpfreaks.com/topic/186190-create-bbcodes/#findComment-983334 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.