PHP Variable = function?
Hey guys, I'm hoping someone out there can tell me how to do this, or if this is possible.
Basically I have a php script that i want to do a few things
It includes top.php - which contains variables that have relative paths to images
it includes a page designated by Get in the address, these pages are like faq.php or something - these pages I want to contain functions that will run and store the data into a big $body variable.
includes show.php - show.php will take all the variables, like the paths to the images, the title variable and such, and echo all the variables out through a template.
The Problem I'm having is that the page it loads from GET, contains php, its not static html, so it doesn't go into a variable, I want the mysql statements to run, create the html, then stick it into a variable....
Is this possible? Thanks for reading guys. I appreciate it.