This function will parse the BBCodes in the given string $text.
To only parse certain BBCodes use the $selected string to separate those BBCodes you want do be passed with a |.
BBCodes was invented for forums to remove the need of HTML.
BBCodes are fare more secure as you have control over what types of codes your users are allow to insert into your site.
Pure HTML code may be used to harm your site, BBCodes gives you the control.
To only parse certain BBCodes use the $selected string to separate those BBCodes you want do be passed with a |.
BBCodes was invented for forums to remove the need of HTML.
BBCodes are fare more secure as you have control over what types of codes your users are allow to insert into your site.
Pure HTML code may be used to harm your site, BBCodes gives you the control.