Menu
if i have a page that resembles:
[code=php]
<?php
echo “test1” ;
?>
<html>
<head></head>
<body>
<?php echo “test2” ; ?>
</body>
</html>
how can i remove the php sections (from <?php to ?>) and replace with an html comment <!– code section 1 (number used to repopulate with code) –>
i will store the sections i remove in an array so i can reinsert them after i have done any work on the html code.
thanks guys