how use bbcodeparser 's pear ?

See the "Documentation for the latest release" on pear.php.net. It has the test file. Learn from that, since the package is still undocumented.

Like this:

$BbParser = new HTML_BBCodeParser($settings);
$BbParser->setText( $strContent );
		$BbParser->parse();
		$PrarsedContent = $BbParser->getParsed();

$settings is array of settings
$strContent is your content that contains bbcode and $ParsedContent is the html with all bbcode replaced by html tags

thx
may put sample

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.