Introduction   Getting Started   Upgrading   Function Reference   Changelog   Support and Feedback

bbcode2html

Usage: string bbcode2html(string bbcode, bool parsesmilies)
Purpose: Converts BBCode to HTML using IPB's native parser.
Availability: IPB SDK 1.0

Uses IPB's native BBCode Parser to convert bbcode into HTML. If parsesmilies is set to 1, smilies will also be parsed.

// Sends <b>Hello</b> to Browser
echo ($SDK->bbcode2html("[b]Hello[/b]"));

// Sends 5 "smiley" smilies
echo ($SDK->bbcode2html(":D:D:D:D:D", "1"));
See Also: html2bbcode


User Contributed Notes

There are currently no user contributed notes for this page.

Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net