Is it possible to pass a variable to a PHP file which is included in a PHP file? In a PHP file I want to be able to do this:
$menu="home";
include "$DOCUMENT_ROOT/pages/common/top.php$menu";
This way "top.php" could have access to the $menu variable. I could write a PHP function to do all of the HTML in top.php, but I only need it for single line in all of it.
Thanks,
James