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