Noskiw Posted December 28, 2008 Share Posted December 28, 2008 function topic($input){ //bbcode return nl2br(strip_tags(stripslashes(htmlspecialchars($input)))); } there is my function where my bbcode code should go, but i wouldn't know how to do it. Link to comment https://forums.phpfreaks.com/topic/138633-how-would-i-add-a-bbcode-function/ Share on other sites More sharing options...
JasonLewis Posted December 28, 2008 Share Posted December 28, 2008 There are probably a zillion (over-exaggerated a little) tutorials out there that will cover the basics of a BB Code system. Try this one for starters. Link to comment https://forums.phpfreaks.com/topic/138633-how-would-i-add-a-bbcode-function/#findComment-724838 Share on other sites More sharing options...
Noskiw Posted December 28, 2008 Author Share Posted December 28, 2008 i've looked at that topic and i don't know how to install pear to my host. but ill google it. Link to comment https://forums.phpfreaks.com/topic/138633-how-would-i-add-a-bbcode-function/#findComment-724948 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.