i want to use custom tags and attributes html,
In this example i want to use a tag and i want to allow only href attribute.
$test = "<a href='#' onmouseover=alert(9) >BBB</a>";
echo strip_tags($test,"<a>");
i want to use custom tags and attributes html,
In this example i want to use a tag and i want to allow only href attribute.
$test = "<a href='#' onmouseover=alert(9) >BBB</a>";
echo strip_tags($test,"<a>");