I was hoping someone could shed some light on a problem I'm having with my glossary script I'm working on. Now the problem is that I have information being accessed from a function and once that information is accessed and found it is to display the results in the script itself. Now the results is not to show any bbcode, html, quotes, etc. This is the code I want to use in the function.
Now the result is that only half the bbcode is removed, for example the formatting tags like '[b]' but none of the tags like '[php], [code]', etc as well as smiles are removed. I've also tried it like this too.