I am trying to store the results of some php to a variable but having no luck with it. The concept is similar to include but rather then output it where the include is I want all of it stored to a variable.
if ($myvar == TRUE) {
$this_feature = include('this/file');
}
This way I can echo the contents of that variable later in the script where I need it.
Any ideas of how to do this?





Bookmarks