I only want to keep html code of a page.
I want to remove php tags.
Some tell that strip_tags is not adapted.

sample of what i want to do:
<html>
na
<?php echo 'na';?>
</html>
->
<html>
na
</html>

php tags can be :
<? ?>or <?= ?>
or <script language='php'></script>  /i

Merci.



.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to