Insert a variable into an include path??
In a crazy actionScript/php hybrid it would look something like this:
include("dir/"+$var+".inc.php");
If that makes no sense here's the long version:
If I've got a file "neato.inc.php" in the "dir" directory that I want to include into the "test.php" file in the root directory
and I've called "test.php" with a link href='test.php?page=neato'
and "test.php" has "$var=$_GET['page'];" string on it...
am I going about this all wrong?:confused:
*actual file and variable names have been changed to protect the innocent