Menu
I want to remove specific parts of code and show this.
How do I do this?
I’ve written some code to do the parsing (with help in another thread I posted here) and get rid of the bits I don’t want to show.
So far, I have the code:
[code=php] $wholePage = preg_replace(“/<!–s*Admin Code Starts*–>.*?<!–s*Admin Code Ends*–>/is”, “”, $wholePage);
This will get rid of the parts I don’t want to show.
But… how then do I display the parsed page?
Thanks.
OM