parse php in template
Posted: Sun Jun 01, 2003 7:26 pm
I have a class that parses template files I have by opening them like
doing some of this and that in between and finally echoing out the file
if I wanted to have a php statement in that file like <?php include "this.html"; ?> how could make it parse it before echoing it?
Code: Select all
<?php
implode("", (file($this->template)));
?>if I wanted to have a php statement in that file like <?php include "this.html"; ?> how could make it parse it before echoing it?