سؤال

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?

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top