php - Excluding <h3> from strip_tags -
i'm trying exclude <h3>
tag in strip_tags function. result i'm getting is:
<h>blabla</h3>
, instead of <h3>blabla</h3>
the code:
$this->adverttext = strip_tags($this->adverttext, '<p><b><i><em><strong><br><ul><li><ol><dl><dd><dt><div><h3>');
so ... can tell me what's wrong here?
Comments
Post a Comment