I am using the strip tags function with a few allowed tags, but some are causing problems when the data is out-putted.
in particular when I allow <table> <tr> <td> <ul> and <li>
my code is
strip_tags($OnFeature["contmain"], '<a><strong><table><td><tr><li><ul>')
in particular when I allow <table> <tr> <td> <ul> and <li>
my code is
strip_tags($OnFeature["contmain"], '<a><strong><table><td><tr><li><ul>')