Ok, i know how to use strip_tags, please don't point me to the PHP function page.
What I CAN'T figure out is what tag to put in to allow HTML comments. I use comments in some tricky ways in a project I am doing to allow calls to PHP functions in a very secure method (but alas that is the topic of another discussion).
So far I have tried:
$comments = strip_tags($comments, '<!-- -->');
$comments = strip_tags($comments, '<!-- >');
$comments = strip_tags($comments, '<!>');
And about a dozen other permutations, all of them seem to just strip the comments, sometimes just leaving the "!"....
Any advice, I have search everything I can think to search and am just plain stuck....
Thanks...