Can someone tell me if it is possible to pass variable in an include statement, i have the following code in my index.php file:
<?
require("header.php?content=3");
require("nav.php");
?>
I want to pass a value to header.php so that it loads a certain graphic depending on the value passed to it, I think however that this may be an illegal move and you can only include the file name on its own in the require statement. Would be thankful of any help! And all this because i am trying to avoid using frames :-(