Hello,
I'm in the process of building a class that will handle html templates. In my template, I have defined tags, for example, {Link1}, {CSS}, {PHP} etc. Anything without an underscore should display the values passed to it. Anything with an "" should read in another PHP script. When my method defines the parameters, it accepts defineParams($var,$value); I want it to check the type, if an underscore is present. If so, it should incude the PHP. I tried using include, but the html that is generated, is always appended to the top of my html code. Say if I wanted to read a php script that just builds a table. How can l parse the template and include the output of php code where I want it in my template?
I have the checking part set, that's not the problem, it reading in php from another script to my calling page.
Is this possible?
-Mark