DarkWolf74
05-09-2007, 02:41 PM
Ok, so here is my Q..
I want to do /misc.php?template=Blah&var1=this&var2=that and to be able to use the var1/var2 info inside the template. Is there a way to do it because I have yet to be able to pinpoint how.
Now for the more complex question linked to the var1 var2 above..
Is there a way to include a file into the template based on the above vars, such as...
<?php include '/some/dir/[var1].txt'; ?>
I'd like an answer to either of the above, both if possible. ;)
I want to do /misc.php?template=Blah&var1=this&var2=that and to be able to use the var1/var2 info inside the template. Is there a way to do it because I have yet to be able to pinpoint how.
Now for the more complex question linked to the var1 var2 above..
Is there a way to include a file into the template based on the above vars, such as...
<?php include '/some/dir/[var1].txt'; ?>
I'd like an answer to either of the above, both if possible. ;)