I am trying to use php to build a template, including some bynamic data, that will be a standalone php-enabled template. As in, I want to use php includes, etc. inside the generated template. My problem lies in fwrite, is there some way to escape <? or will it ignore it? Any help is appreciated.