<?php function sTAGS($text, $prm) { echo strip_tags($text, $prm); } $txt = '<p>Test-Absatz.</p><!-- Kommentar --> <a href="#fragment">Anderer Text</a>'; sTAGS($txt, "<p>"); ?>
You have javascript disabled. You will not be able to edit any code.