I have some text data stored in my database, and I want it to be displayed in an specific way: I store the data followind wikipedia standard, for example:
==title==
some ''data''
And I want this data to be translated to <b>, <h2>, <i>, etc.
Is there any function/parser to easily achive this?
There are numerous libraries for parsing and rendering MediaWiki markup, including some written in PHP. See http://www.mediawiki.org/wiki/Alternative_parsers