call a include() within eval()...
UPDATED to include more details...
Is it possible to perform a include() in a .php file within an eval statement so all i have to do is refer it to the variable from eval() and the result appears?
Seems simple enough
I have a random gallery php file that i want to include in my custom NON-VB homepage that uses VB variables etc...
i should've prefaced this and said i am totally a newbie on this... juss looking at structure and seeing what might work... this php file creates 3 random pics... not just one variable... or result... see attached...
here's part of my index file...
eval("\$index_intro = \"".gettemplate('index_intro ')."\";");
eval("dooutput(\"".gettemplate('imix_index')."\"); ");
I want the results of the php file to appear within imix_index.. somehow... or within index_intro...
any suggestions...
|