Let me try to explai it better
function toHTML() {
?>
<HEAD>
<TITLE>This is the title</TITLE>
<?php
include( "file.inc" );
include( "javascript.js" )
?>
</HEAD>
....goes on to the webpage
Well I want to make this into a string so I can say
$html = "\n
<HEAD>
stuff goes here....but i need to include the files and the files need to use my class to get the variables so I can't read them I have to execute them and get back the info.
Bleep