phpeditorbbcodephp-parser

How to convert bbcode to html in usage of SCEditor


I used SCEditor in my forum. I managed inserting bbcodes to database. But when I try to show codes in the page, bbcodes are shown without styling. No html, no style. Only bad bbcodes. I am investigating for a long time in its documentation pages but I did not find any php parser. Here is the screenshot. enter image description here Please, could you help me, how do I parse bbcode to html in PHP?


Solution

  • You can use SBBCodeParser. SCEditor and this class were coded by the same person. So it would be more compatible.