I have a site architechure where I assign content to variables and then print them in a master page. My problem is that php code in the sub pages is imported into the variab
use can use eval function
http://php.net/manual/en/function.eval.php
$string = eval('?'.'>'.file_get_contents('signup_content.php',1).'<'.'?'); echo $string;