Location: PHPKode > scripts > dm.IS Layout > dm-is-layout/example5.php
<?php
require_once "class.IS_Layout.php";

$html=<<<END
<p>&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center"><b>Remove Function Example:</b></p>
<p align="center">&nbsp;</p>

<!-- remove id="removetext" -->
	<p align="center">Remove this Text</p>
<!-- end remove -->

END;

$lay   = new IS_Layout($html);

// Replace the code named bold by $htmlItalic
$lay->remove('removetext');

$lay->display();
?>
Return current item: dm.IS Layout